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
Ole in-place at resize loosing focus
Write HEX
Install Windows Server 2003 on laptop
Forefront Engine Update Errors
Common Dialog Control in Access 2007
Modular Application Development (software kits or modules)
Access to the registry key denied
XmlDocument.Load(Stream) method is removing tabs between tags
Subreport/ Subform not showing up in Main Report
Data Modelling