Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Place SQL statements in PL/SQL procedure but failed...
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