Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Truncate table not allowed in SP
Can someone help me to understand why "truncate table" would cause
a compilation error if it is used in a store procedure? It seems
to me that certain SQL commands are not allowed in SP. I could
work around it with the "delete from" but I really want to use
the "truncate table" statement instead. Please advice how I might
be able to do that.
Thanks in advance,
Kenny
--
![]() |
![]() |