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 -> Truncating Tables using DBMS_SQL

Truncating Tables using DBMS_SQL

From: Richelle Hutchinson <rhutchin_at_prodigy.net>
Date: Mon, 5 Jul 1999 14:06:40 -0400
Message-ID: <7lqs8q$369u$1@newssvr03-int.news.prodigy.com>


I've been trying to run the following 'TRUNCATE TABLE' table procedure but have run into some
runtime errors. I'm passing the table name 'CDDS_CLRV' to the procedure throught the parameter
'table_name_in'. This procedure works if I hardcode the table name, but if I pass it in our define it
locally I get the same error. Any assistance would be greatly . -Richelle

new 1: begin trunctabs(CDDS_CLRV); end;

begin trunctabs(CDDS_CLRV); end;

*
ERROR at line 1:
ORA-06550: line 1, column 17:
PLS-00357: Table,View Or Sequence reference 'CDDS_CLRV' not allowed in this context
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Elapsed: 00:00:00.16 Received on Mon Jul 05 1999 - 13:06:40 CDT

Original text of this message

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