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
Upgrade Path Win 2003 Std. (32-bit) Environ. to Upgrade to Win 2008 R2 64-Bit
User defined function
How to Get Grouping Formula to Display Same Record More than Once When Meets Criterion
jQuery accordion overlaps IE7 footer
Which open source e-commerce project is used to implement this website?
How much memory will be allocated for a dotnet application?
How to preserve "emergency" resources in Windows Server 2003 R2 x64
PHP file upload manager script
Excluding the milliseconds from a returned date
Need to see traffic across WAN