Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

conditional DDL's in a SQL script

546505Jan 17 2007 — edited Jan 17 2007
Hi,

I want to create a .sql script file containing DDL statements such as Create/Alter, etc. I want some DDL statements executed and some not, depending on a query result. I read about PL/SQL that it does not handle DDL within its block. What are my options? Thanks in advance!

David
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2007
Added on Jan 17 2007
4 comments
1,594 views