Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: can't create table from package

Re: can't create table from package

From: Kai Rode <nikkit_at_web.de>
Date: Thu, 13 Dec 2007 07:51:11 +0100
Message-ID: <qel1m390r3u432tv7u580uf7a6a3fl46pq@4ax.com>


>What is evil & wrong is doing DDL from inside PL/SQL.
>
>I wish that Oracle never had created EXECUTE IMMEDIATE to allow such
>nonsense.

DDL in PL/SQL has its uses. How else are you going to write an installation script for database objects which is

  1. safely re-runnable
  2. is not allowed to throw any exceptions about already existing objects on re-run

Don't have EXCEPTION or IF in pure SQL... Received on Thu Dec 13 2007 - 00:51:11 CST

Original text of this message

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