Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Truncate Table Not Allowed in PL/SQL?
A one-line stored procedure:
CREATE OR REPLACE PROCEDURE x1 as
begin
truncate table tablex1;
end;
got this error, 'PLS-00103: Encountered the symbol "TABLE" when expecting one of the following: := . ( @ % ;The symbol ":= was inserted before "TABLE" to continue.'
While connected as the same user, I have no problem to execute this truncate command in SQL worksheet.
Hi Chan
--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Tue May 11 1999 - 15:20:20 CDT
![]() |
![]() |