[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how to display an oracle trigger programatically

sean_n

12/15/2007 1:40:00 AM

1 Answer

Chris Hulan

12/15/2007 1:50:00 AM

0

On Dec 14, 8:39 pm, Sean Nakasone <seannakas...@yahoo.com> wrote:
> Is there a way to display an Oracle trigger programatically? The only way
> I know how to display a trigger is to use toad's gui, but i want to loop
> through all triggers and dump trigger contents to a file using a batch
> procedure. Ideally I'd like to use a ruby script with the oracle dbi
> module.

Here is a SQL script that extracts trgger code:
http://www.orafaq.com/scripts/sql/...

Don't really need Ruby, but it'd be easy to adapt...

cheers