Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Where is line 21? ++ USER_TRIGGERS vs USER_SOURCE
"Niall Litchfield" <niall.litchfield_at_dial.pipex.com> wrote in message
news:1100511110.358057.263800_at_c13g2000cwb.googlegroups.com...
| DA Morgan wrote:
| > Ramon F Herrera wrote:
| >
| > > Hello:
| > >
| > > I keep on getting error messages like the following:
| > >
| > > ------------------
| > > Record 7: Rejected - Error on table SHAWS.
| > > ORA-00001: unique constraint (DATABASE.CACHE) violated
| > > ORA-06512: at "DATABASE.SYNCSHAWS", line 21
| > > ORA-04088: error during execution of trigger 'DATABASE.SYNCSHAWS'
| > > -------------------
| > >
| > > However, when I take a look at the file that contains
| > > the SQL/PL code (in this case, a trigger) line 21 doesn't
| > > seem to be the right line. Is there some sort of magic
| > > delta number to be added/substracted?
| > > Perhaps I should remove the empty lines in my source code
| > > and count again?
| > >
| > > -Ramon
| >
| > No. It is either 21 or one of the 20 lines before it.
|
|
|
|
|
|
|
|
| LINE TEXT
| ==== =========
| 21 COMMIT;
|
|
|
how about a little Remedial DBA, if you don't mind
when did trigger code start getting listed in USER_SOURCE and not just the TRIGGER_BODY of USER_TRIGGERS?
++ mcs Received on Mon Nov 15 2004 - 05:37:20 CST
![]() |
![]() |