Re: dynamic dynamic sql within a procedure - ora_00911

  • From: Ragnar Wessels <ragnar@xxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2004 11:03:50 +0000

You can use execute immediate. It's a good replacement for dbms_sql and 
way more easy in use.
Remove the "select from dual" from you're statement.
Execute immediate'create or replace...etc';

Ragnar
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: