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

TRUNCATE in PL/SQL

From: Jim Bromhal <jbromh1_at_gl.umbc.edu>
Date: 2000/04/07
Message-ID: <Pine.SGI.4.10A.B3.10004071007260.15359904-100000@umbc9.umbc.edu>#1/1

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