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

Home -> Community -> Usenet -> c.d.o.server -> Re: Truncate in stored procedure

Re: Truncate in stored procedure

From: Jonathan Gennick <gennick_at_worldnet.att.net>
Date: 1 Jan 1999 00:20:10 GMT
Message-ID: <36930cc3.4343792@netnews.worldnet.att.net>


On Tue, 29 Dec 1998 20:21:06 GMT, andrewf_at_jaredgroup.com wrote:

>and got compilation error. It seems the pl/sql does not recognize the Truncate
>syntax. Should I change some configure parms or other solutions?

TRUNCATE is considered a DDL statement. To execute it from PL/SQL, you will need to use the DBMS_SQL package.

Jonathan Received on Thu Dec 31 1998 - 18:20:10 CST

Original text of this message

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