I Could remove records from today and yestarday from a table that has a DATE Field using this sentence:
DELETE FROM yourTable WHERE DATEDIFF(day,getdate(),thatColumn) < -1
But now I need to remove some records from a table VFS_INTRESS than doesn´t has a DATE field,
for example this:
I need to left only records from today and yesterday, how can do that?
Thanks...