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
Windows 2003 Drivers, Dell, Optiplex 755, Video
Form datasheet view combo box problem
Function Design help
How to convert a decimal value to 1 correct figure in an access query
CreateEventProc error 57017 Event Handler Invalid
Does sysprep completely clean old network, domain and user settings in XP ?
Why won't "WMIC OS Where Primary=True Call Reboot" not force reboot when dialog box is open?
Working Days Calculator
how to get move line through mouse drag in view?
Access 97 tables corrupted after conversion to 2003