clear markdown compare help best fiddles feedback dbanow.uk
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2805438 fiddles created (40858 in the last week).

/* ok, someone sent me to this db<>fiddle page, now what? The purpose of this is to make it easy for people to understand your schema and data so they don't have to spend time figuring that out, and can instead focus on your issue. So put some create tables etc. here: */ CREATE TABLE dbo.whatever(col date); /* And some sample data, including edge cases: */ INSERT dbo.whatever(col) VALUES(getdate());
1 rows affected
 hidden batch(es)


/* and then the query you're struggling with */
 hidden batch(es)


/* and maybe some sample desired results */
 hidden batch(es)