Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Delete Data older than exactly 2 years
Hi
Can somebody suggest good method to delete all record older than 2 years from the current date. This script will run on the last sunday of each month. I will write the logic for Last sunday in Unix shell but need some idea about the SQL. I can't use some 365+366 or so kind of logic. THis is 9i.
TX
Sanjay
![]() |
![]() |