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 |
|
JJ297
Aged Yak Warrior
940 Posts |
Posted - 2011-01-21 : 13:38:26
|
| How would I write a query to find out how many days are in betweenGetdate and 4/3/2010? |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-21 : 13:46:05
|
| SELECT DateDiff(day, '4/3/2010', GETDATE()) |
 |
|
|
JJ297
Aged Yak Warrior
940 Posts |
Posted - 2011-01-21 : 14:19:09
|
Thanks! |
 |
|
|
|
|
|