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 - 2008-09-09 : 10:50:32
|
| Could someone help me I only want records that are older than 60 days. My field is called DryDte1. I tried this but it's not workingDATEDIFF("dd",DryDte1,GETDATE()) > 60 |
|
|
sakets_2000
Master Smack Fu Yak Hacker
1472 Posts |
Posted - 2008-09-09 : 11:03:39
|
| where DryDte1<(getdate()-60) |
 |
|
|
JJ297
Aged Yak Warrior
940 Posts |
Posted - 2008-09-09 : 11:12:42
|
| Thanks! |
 |
|
|
|
|
|