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
Cloud Computing
Windows Xp Reinstall
Why don't certain images show in Safari but are ok in all other browsers?
Will a csvde user import generate Exchange email accounts?
Difference of "Protocol 2,1" and "Protocol 1,2" in config file
computer name when buying new
Entity Framework Detecting Changes
VB.net how to create a hashtable with a list of all parent and child controls and values
SQL Timeout when Changing Char Field Length
Cisco 3560 connecting to Dell switches