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
adding images to a ole class TreeCtrl in msaccess 2003
VSTO Question(s)
Rotating text in label control
Import Monthly data from vendor with items sales qty that changes
Server 2008 - DCOMCNFG Missing Microsoft Word Component
Escape while loop, then re-run while loop
Exchange 2007 cannot receive external email
How to pin shortcut to Start menu using command line or script
Get Top most parent id
Removing Lines from richtextbox