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
 General SQL Server Forums
 New to SQL Server Programming
 sorting by date

Author  Topic 

rajadadi
Starting Member

30 Posts

Posted - 2010-05-26 : 04:50:32
I want add condition to my query when all rows displays One prior to January 1st 2010

pls tell me the condition

rajesh

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2010-05-26 : 04:52:52
Select * from table_name where date_column<'20100101'

Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled

http://senthilnagore.blogspot.com/
Go to Top of Page
   

- Advertisement -