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: Place SQL statements in PL/SQL procedure but failed...

Re: Place SQL statements in PL/SQL procedure but failed...

From: IDEDWARDS <idedwards_at_aol.com>
Date: 06 Jan 2000 21:28:30 GMT
Message-ID: <20000106162830.01136.00000094@ng-fj1.aol.com>


You can't perform DDL in PL/SQL blocks. One solution however is to use the dbms_sql package to execute dynamic sql. If you take a look at the dbmssql.sql script found in the rdbms/admin directory on your database server this will give you some examples of using the package.

Ed Received on Thu Jan 06 2000 - 15:28:30 CST

Original text of this message

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