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: attaching one trigger to multiple tables

Re: attaching one trigger to multiple tables

From: Anna C. Dent <anacedent_at_hotmail.com>
Date: Wed, 12 May 2004 17:09:33 -0700
Message-ID: <_0zoc.124104$Jy3.77175@fed1read03>


M wrote:

> Hello,
>
> I am adding 3 columns and attaching a trigger to 10 tables (Oracle9i).
> The column names and specs, and the trigger are the same for all the
> tables. All 10 table names begin with the same word. Is there a way of
> doing it in a single statement for all the tables (using some kind of
> a wildcard character or a loop)?
>
> Thank you,
> G.

Kind of.
You can use SQL to write a new SQL file and then run the new SQL file. Received on Wed May 12 2004 - 19:09:33 CDT

Original text of this message

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