Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

truncate in a stored procedure or trigger?

438644Mar 7 2005 — edited Mar 7 2005
hello all,

is it possible to use 'truncate table' in trigger or stored procedure ?
I can do a delete, but when i use truncate table <mytable>, when i compile the trigger, i get an error,
the word 'TABLE' seems forbidden.

thanks for help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2005
Added on Mar 7 2005
17 comments
2,761 views