Microsoft
Software
Hardware
Network
Question : SQL Query to delete all records older than 365 days
I need to write a sql query to delete all records in my database older than 365 days. The date/time field name is called 'DateShipped'. TIA!
Answer : SQL Query to delete all records older than 365 days
delete from tableName
where DateShipped < dateadd( dd, -365, convert(varchar,getdate(),
112) )
Random Solutions
Authentication for OWA in Exchange 2007 fails.
Exchange 2007 Autodiscover & OAB & OOF not working anymore
System.OutOfMemoryExceptio<wbr />n when filling dataset with 655,000 rows - need workaround!!
need to fix warn
Microsoft Vista SystemPropertiesComputerNa<wbr />me at Logon?
Automatic delete of files in delete folder, on exit, in Outlook no longer works?
How do I compact a MSDE Database?
How to popup a waraning dialog box in asp.net?
QueryTable.Connection error
Access 2000 MSFLXGRD.OCX issue