Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re:How to find PL/SQL code
It is in trigger_body in user_triggers. The reason only part of it comes out is
that you have your SQLPLUS "long" set too low. Type the following:
SQL> set long 10000
SQL> select trigger_body from user_triggers;
Wayne Bellefeuille
Talent Software Services
____________________Reply Separator____________________Subject: How to find PL/SQL code
Hello
We have several triggers that have been modified. Unfortunately, the modifications weren't saved, but they are reflected in the database. How can I get Oracle to output the code of the triggers. I select on user_triggers, or all_triggers, using trigger_name and trigger_body columns, but only part of the code is outputted to the screen. How can I get all of it?
Thanks for your help.
Jeff
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>How to find PL/SQL code</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hello</FONT>
</P>
<P><FONT SIZE=2>We have several triggers that have been modified. Unfortunately,
the modifications weren't saved, but they are reflected in the database. How can
I get Oracle to output the code of the triggers. I select on user_triggers, or
all_triggers, using trigger_name and trigger_body columns, but only part of the
code is outputted to the screen. How can I get all of it?</FONT></P>
<P><FONT SIZE=2>Thanks for your help.</FONT>
</P>
<P><FONT SIZE=2>Jeff</FONT>
Received on Thu Aug 10 2000 - 11:27:56 CDT