Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: problem with trigger
Yes sir .... you can see errors ....
-----Original Message-----
From: Suri, Deepak [mailto:DSuri_at_oxhp.com]
Sent: Monday, October 09, 2000 11:05 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: problem with trigger
You will not be able to see a trigger's compilation using show error. Do a select on the view user_errors or all_errors with the proper parameters.
thanx
deepak
-----Original Message-----
Sent: Monday, October 09, 2000 5:22 AM
To: Multiple recipients of list ORACLE-L
Satish,
After creating the trigger fire the following command to see what error exactly is:
SQL> show error
After that it will give the list of errors in the trigger code ...Then by looking at the code
and error listing anybody can help you !
Rgds-S
satish plakote <satish_plakote_at_excite.com> on 09/10/2000 10:45:54 AM
Please respond to ORACLE-L_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: (bcc: Sanjeev Sachdeva/PLs/TCSDELHI/TCS)
hi ,
i am doinga project in java and oracle. I am using a set of tables . There
r
some tables like Employee master,in which i want to have employee code
generated by sequences.
I am aming to have a dynamic Java code , where in any table ccan be
selected
for an insert valeues option.
I want to write a trigger on the database side such that when ever i give
an
insert query from my java code, the trigger should automatically insert the
employee code.
i tried writing a trigger but i got a message" triger created with
compilation errors"
Can somebody tell me how to write that trigger.and what should mt insert
statement be.Since i am declaring my primary ky as not null.
Thanks
satish
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: satish plakote
INET: satish_plakote_at_excite.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sanjeev Sachdeva
INET: sanjeevs_at_delhi.tcs.co.in
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you. Received on Mon Oct 09 2000 - 09:26:43 CDT
![]() |
![]() |