Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ora-1031
Does your schema owner have privs enough on hsd_navgrp_kw? If you swap that
out for an explicitly specified datatype for l_active_trigger, does it make
any difference?
Roy Pardee
Programmer/Analyst/DBA
SWFPAC Lockheed Martin IT
Extension 8487
-----Original Message-----
Sent: Tuesday, June 17, 2003 2:10 PM
To: Multiple recipients of list ORACLE-L
I have 3 triggers that are giving an ora-1031, below is an example:
ON AUTH_ADDTL_INFO
*
ERROR at line 16:
ORA-01031: insufficient privileges
The same schema owns the tables and the triggers. Let me repeat, the tables exist and are owned by the same schema as the triggers. I can create about 50 triggers just like this before I get the error. The 3 triggers are delete triggers, I don't know if that is something to keep in mind. Why would I get an ora-1031?
CREATE OR REPLACE TRIGGER "DIAMOND".trg_audit_aai_delete
/*______________________________________________________________________________________*/
______________
____________________________________________________________________________
AFTER DELETE ON AUTH_ADDTL_INFO FOR EACH ROW DECLARE l_seq_audit_id NUMBER; l_number NUMBER (1); l_active_trigger hsd_navgrp_kw.audit_trail%TYPE; l_old_data VARCHAR2 (32750); i INTEGER; l_done CHAR := 'F'; l_found_split CHAR := 'F'; l_segment_cnt INTEGER := 1;
David Ehresmann
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Ehresmann, David 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Pardee, Roy E 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).Received on Tue Jun 17 2003 - 16:24:05 CDT