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.
Author |
Topic |
maddyslayer
Yak Posting Veteran
57 Posts |
Posted - 2013-06-12 : 10:19:08
|
What does this do?This is being used as an add condition on a sql select statementconvert(varchar(15),date,101) >=convert(varchar(15),adddate(),101) |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-12 : 10:40:19
|
checking if date returned by adddate() function is greater than value in date column------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
djj55
Constraint Violating Yak Guru
352 Posts |
Posted - 2013-06-12 : 13:53:16
|
Please note that this criteria will compare VARCHAR's not DATE's. Thus "05/02/2013" will be before "05/01/2012".djj |
|
|
|
|
|