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 PL/SQL

Re: TRUNCATE in PL/SQL

From: wildpony <z1wildpony_at_hotmail.com>
Date: 2000/04/07
Message-ID: <38EDFAE3.5036CAAE@hotmail.com>#1/1

if it is just a temp table, then drop it at the end of the package and create it at the beginning of the package

Jim Bromhal wrote:

> Hello,
>
> I want to clear out a temp table at the end of a package. With small
> amounts of data to delete, "DELETE FROM temp_table" works, but with large
> amounts, I get rollback space errors. "TRUNCATE table temp_table;" works
> from SQL*Plus, but I can't compile in pl/sql.
>
> Why can't I compile the TRUNCATE statement in pl/sql code? Is there a
> better way? Thanks,
>
> jim
Received on Fri Apr 07 2000 - 00:00:00 CDT

Original text of this message

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