Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Truncate Table Not Allowed in PL/SQL?

Truncate Table Not Allowed in PL/SQL?

From: Hi <hichan_at_my-dejanews.com>
Date: Tue, 11 May 1999 20:20:20 GMT
Message-ID: <7ha3e0$isj$1@nnrp1.deja.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US