ridhirao22
Programmer
Hi all,
I am insert data with a select clause into a table and I need to truncate the table for last month data and re-insert instead of truncating the table completely.
truncate table MYtable where orddate >= addmonths(trunc(sysdate,'MM'),-1)
but I get the storage error:ORA-03291
How can I do this?
TIA,
RR
I am insert data with a select clause into a table and I need to truncate the table for last month data and re-insert instead of truncating the table completely.
truncate table MYtable where orddate >= addmonths(trunc(sysdate,'MM'),-1)
but I get the storage error:ORA-03291
How can I do this?
TIA,
RR