hi, i need to left only records in my table with two days before actual date:
I try this:
delete from dbo.prueba where DATE = (select GETDATE()) -2
but NOTHING HAPPENED
Please help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Madan ShekarPosted Oct 26, 2018, 6:53 AM
Ramon QuintanaPosted Oct 26, 2018, 8:42 AM
Ramon QuintanaPosted Oct 26, 2018, 8:41 AM
Suraj KumarPosted Oct 26, 2018, 8:32 AM
Ramon QuintanaPosted Oct 26, 2018, 8:30 AM
Jayesh VaghasiyaPosted Oct 26, 2018, 7:20 AM
Suraj KumarPosted Oct 25, 2018, 8:34 AM
Ramon QuintanaPosted Oct 25, 2018, 8:05 AM
Suraj KumarPosted Oct 24, 2018, 11:28 PM
Ramon QuintanaPosted Oct 24, 2018, 1:56 PM
Suraj KumarPosted Oct 24, 2018, 11:57 AM
Suraj KumarPosted Oct 24, 2018, 11:24 AM
Ramon QuintanaPosted Oct 24, 2018, 11:02 AM
Suraj KumarPosted Oct 24, 2018, 10:40 AM