Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


ORA-26714: User error encountered while applying

Answers were Sorted based on User's Feedback



ORA-26714: User error encountered while applying..

Answer / dave

Honestly! Take appropriate action!? What does that mean??
Why not just give a solution like "Wave your hands
mystically at Oracle"

Is This Answer Correct ?    3 Yes 0 No

ORA-26714: User error encountered while applying..

Answer / anonimous coward

First, either as the streams user or sys make sure the date output will have precise hour information and the output can accomodate the result:

alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS'
set serveroutput on size unlimited

Create the following procedure:

CREATE OR REPLACE PROCEDURE print_transaction(ltxnid IN VARCHAR2,msg_no in number) IS
i NUMBER;
txnid VARCHAR2(30);
source VARCHAR2(4000);
msgno NUMBER;
msgcnt NUMBER;
errno NUMBER;
errmsg VARCHAR2(4000);
lcr ANYDATA;
BEGIN
SELECT LOCAL_TRANSACTION_ID,
SOURCE_DATABASE,
MESSAGE_NUMBER,
MESSAGE_COUNT,
ERROR_NUMBER,
ERROR_MESSAGE
INTO txnid, source, msgno, msgcnt, errno, errmsg
FROM DBA_APPLY_ERROR
WHERE LOCAL_TRANSACTION_ID = ltxnid;
DBMS_OUTPUT.PUT_LINE('----- Local Transaction ID: ' || txnid);
DBMS_OUTPUT.PUT_LINE('----- Source Database: ' || source);
DBMS_OUTPUT.PUT_LINE('----Error in Message: '|| msgno);
DBMS_OUTPUT.PUT_LINE('----Error Number: '||errno);
DBMS_OUTPUT.PUT_LINE('----Message Text: '||errmsg);
FOR i IN msg_no..msg_no/*msgcnt*/ LOOP
DBMS_OUTPUT.PUT_LINE('--message: ' || i);
lcr := DBMS_APPLY_ADM.GET_ERROR_MESSAGE(i, txnid); -- gets the LCR
print_lcr(lcr);
END LOOP;
END print_transaction;

Execute the procedure:

execute print_transaction(local_transaction_id => '40.29.1234567', msg_no => 1000);

In the previous line one should obtain the 'local_transaction_id' and 'msg_no' by querrying the dba_apply_error view.

Is This Answer Correct ?    1 Yes 0 No

ORA-26714: User error encountered while applying..

Answer / guest

Cause: An error was encountered while applying.

Action: Query the dba_apply_error view to determine the
error and take the appropriate action.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Oracle Errors Interview Questions

ORA-21503: program terminated by fatal error

1 Answers  


ORA-38404: schema extension not allowed for the attribute set name

1 Answers  


NZE-29236: the random number generator will not accept seed

1 Answers  


NNL-00993: Auto-refresh failure retry expiration: string

1 Answers  


ORA-12065: unknown refresh group identifier string

1 Answers  


DRG-10101: no value for argument: string

1 Answers  


ORA-28232: invalid input length for obfuscation toolkit

1 Answers  


ORA-14118: CHECK constraint mismatch in ALTER TABLE EXCHANGE PARTITION

1 Answers  


KUP-04104: zoned decimal field has bad values for string

1 Answers  


ORA-14125: REVERSE/NOREVERSE may not be specified in this context

1 Answers  


DRG-10844: index cannot execute this structured predicate efficiently

1 Answers  


ORA-22814: attribute or element value is larger than specified in type

1 Answers  


Categories