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
How do I determine the sizes of an Exchange 2003, Exchange 2007, & Exchange 2010 Information store?
How can I move my 'footer' under my 'content' with CSS?
Sql query returns 24 hour time format instead of 12 hour am/pm format:
vb.net, reflection, copying some similar fields from one object to another
How can I immpove the design on this asp.net form
Authenticate into password protected directory with php
KVM Switch vs AVocent KVM
Dcpromo 2008 R2 directory service missing configuration information
Word 2007 Freezes On Open/Save File - Win7Pro64/SBS2008 Server
Is the pointer constant or what it points to constant?