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: Trigger DDL

Re: Trigger DDL

From: Daniel Morgan <damorgan_at_exesolutions.com>
Date: Sun, 11 Aug 2002 15:11:36 +0100
Message-ID: <3D567098.1E6985FA@exesolutions.com>


Rafal Hejnowicz wrote:

> Hi DBA,
>
> Does somebody know how to modify sql statement by a DDL trigger?
> Are there available such variables from which you can get a DDL statement?
> What are names of these variables?
> Can one modifiy them?
>
> If you can, please write me a trigger described below.
>
> EXAMPLE:
>
> I type command:
> create table a (id_serial number, ...);
>
> result of running trigger BEFORE:
>
> create table a_var01 (id_serial number, ...);
>
> where in trigger I modified name of a table.
>
> If you have got some examples regarding usage of DDL trigger, please sent
> me.
>
> Thank you!
>
> Rafal

This can not be done.

Nor should it be.

DDL should not be performed by trained or semi-trained monkeys. Write the DDL correctly and only have a DBA implement it.

Daniel Morgan Received on Sun Aug 11 2002 - 09:11:36 CDT

Original text of this message

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