Posted: 4/13/2012
Posted: 4/14/2012
I believe you created this topic before, under another title.
What do you need to garantee? That all days exists, if not, insert into some table?
As I replied in that topic, you need to execute each sp and insert the output lets say to:
exec sp1 - into table_sp1
exec sp2 - into table_sp2
Then you need to do something like this:
select convert(varchar,date_column,112) as column_to_compare
from table_sp2
EXCEPT
from table_sp1
this will return:
20090930
That's the date that differs from sp2 and sp1. Am I right?