Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 compare two months data and find out the distinct

Author  Topic 

chander_2580
Yak Posting Veteran

76 Posts

Posted - 2007-09-17 : 16:07:51
Hi Guru !!!

i am struct into a problem so please let me out of that. i need to compare two tables on date basis and need to find out the distinct values out of that. for example i have a table that contain a column of start date and end date,so in this i have to compare it with two months data, like compare current data with previous month and then need to find out distinct values.

Thanks
chander

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-09-17 : 16:28:46
Sample data and expected output would be a great help.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-09-17 : 16:31:37
I moved this to the T-SQL 2005 forum since the Script Library forum is not appropriate. I'm not sure if he is using 2000 or 2005 though.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -