Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Truncating Tables using DBMS_SQL
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
![]() |
![]() |