I have a stored procedure, and I want to delete rows daily for more than 30 days.
Which means, everyday a bit of data is saved (new record) in database, and the first day data will be deleted after 30 days.
Again in everyday.
DELETE ????
FROM Table1
WHERE ????
And Table1 :
ID INT
Name1 TinyInt
Name2 TinyInt
Name3 TinyInt
DateT DateTime