Microsoft
Software
Hardware
Network
Question : Delete rows older then todays date
Hi there
I have a table called Books and a column called Date_Updated (which contains a data field)
I need a DELETE statement that will delete all rows where Date_Updated is less then todays date.
Thanks
Answer : Delete rows older then todays date
DELETE FROM Books
WHERE Date_Updated < DateAdd(dd, DateDiff(dd, 0, GetDate()), 0)
Random Solutions
connecting to a windows 2003 file share from a mac, folders are empty
Deleting A Row from a DataTable based on ID column
foreign key
Java performance: multi threading CPU usage
Copy and paste data row
numbers messed up in keyboard
Need help finding drivers for a Gateway M325X-3401704 Laptop
Difference between Oracle,MySQL and Sybase
SBS 2008 internal email only
Facebook deny/allow on SonicWALL with Enhanced 4.0