Title: Message
Or, you can set event 10046, level 12 and look into the trace file. All SQL statements in the trigger should be in there,
which should give you a pretty good idea about what's in the trigger itself.
 
Or, you could do a systemdump level 10 and extract the trigger text from the shared pool dump.
 
Or, you could do full export and get the trigger text by using the "strings" command.
 
Or you could get the whole system tablespace in a hex viewer/editor and find your trigger. I recommend doing that on
a live production database which is not in the archive log mode.
 
Personally, I opt for the DBA_TRIGGERS or USER_TRIGGERS. Why should I make a simple thing
so complicated.
 
 
--
Mladen Gogala
Oracle DBA
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of raju pa
Sent: Friday, September 05, 2003 1:34 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: How to get the source code of the trigger without using

You can ofcourse use enterprise manager. You would have to get the body and other things like triggering event etc.
 
To use the "Show SQL" option :  one trick to use is a space some place (basically non-change) and hit "Show SQL". That should give you the whole trigger sql. Good luck.
 
* Jared :  I sent this post earlier but it did not go looks like *


Mladen Gogala <[EMAIL PROTECTED]> wrote:
Just kidding.

--
Mladen Gogala
Oracle DBA



-----Original Message-----
Wolfgang Breitling
Sent: Friday, September 05, 2003 12:34 PM
To: Multiple recipients of list ORACLE-L


Why is it "far fetched and unnatural" ? In my view that is the only way to
be sure to get the correct source.

At 08:09 AM 9/5/2003 -0800, you wrote:
>Well, the idea of extracting it from user_triggers or dba_triggers is a
>little far fetched and unnatural, but should work.

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com


--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Wolfgang Breitling
INET: [EMAIL PROTECTED]

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mail! ing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the
message BODY, include a line containing: UNSUB ORACLE-L (or the name of
mailing list you want to be removed from). You may also send the HELP
command for other information (like subscribing).




Note:
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LL! C and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
INET: [EMAIL PROTECTED]

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
 
Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.  Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
 
 

Reply via email to