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
Entering No Data in a Microsoft Access Date Field
How do I set up multiple RDPs thru my sonicwall TZ170 firewall
Auto populate date field for Microsoft CRM 4.0
WORD VBA Automation positionnig the cursor.
Swap two columns using vba
how to add an additional front end server and remove the old one
Problem with DNS
"The parameter is incorrect" when opening Access database
SQL statement to find and replace character in field...
C# -- dataGridViewTextBoxColumn -- STRING Value ?