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
Network drive mapping batch file that passes domain username/password
How do I automatically move to the next cell when I enter a single-digit number?
BlackBerry Enterprise Server & Exchange 2007 - Emails on device missing attachments
How to convert an XML input field for a C# console application to a deciamal value for a fixed length field with leading zeros?
How to forcefully apply the Group policy to all the computers in SBS 2008 environment ?
making a border curved
Issues installing Crystal Report Viewer with cxlibw-1-6.dll Using Package and deployment VB6 and Crystal Version 10
Problem in Oracle 11G Installation on Linux Red Hat - Packages not found.
Why iis access opening incorrectly......
PHP hosting transfer problem