I want to purge 3 months old data from database but problem is i don't have date column in that table.
Is it possible by any means. Please help me out
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.
Sourav MukherjeePosted Dec 6, 2018, 8:56 PM
Sana KhanPosted Oct 23, 2018, 6:03 AM
Prakash KumarPosted Oct 23, 2018, 5:29 AM
Hi Sana Khan,
Use the below query
select * from table where rowid in (
SELECT rowid FROM table
MINUS
SELECT rowid
AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '3' MONTH));
FROM table