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
Excel Count w/ Multiple Criteria on another Sheet
REST web service in C#
is there a procedure view button in vs 2008 like there is in vb6
the vfp odbc ole db provider give me an error when i run in windows seven
Getting error message "The server tag is not well formed" on the line where I have a hyperlink control in my datagrid
VBA - Multiple outputs from one function
How to restrict the user to access only one Document Library other than accessing complete site?
Need batch to move files older than 8 days
How to limit the memory usage of a VB.NET process in Win Server 2008
The string was not recognized as a valid DateTime when I call the Stored Procedure