I have a table with date(Date) and count(Int) fields as below.
13-09-2013 100
14-09-2013 200
16-09-2013 100
17-09-2013 100
20-09-2013 200
/** and so on **/
What I need to do is find all the missing dates between the first and last date in the date column and insert them to the table with count '0'.
I found a way to do this using C# and linq but would prefer if I could find a sql solution.
Any help is sincerely appreciated..
Thanks