Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Simple SQL script for Decoding Siebel Audit Trail Data

Simple SQL script to decode siebel audit trail data using SQL:

==============================================================

We have implemented a simple method to decode the Siebel 8.0 audit data into old structure.  Basically it is a simple sql script and it gives the output in following format.  Try it and let me know if it works for you.

Output Data Format:

TBL_NAME, RECORD_ID, FIELD_NAME, OLD_VALUE, NEW_VALUE

Here is the script:

create table temp_aud1 as

    select

        aud.operation_cd,

        aud.operation_dt,

        aud.tbl_name,

        aud.record_id,

        replace(translate(SUBSTR(DBMS_LOB.SUBSTR (audit_log), DBMS_LOB.INSTR( audit_log, '2*C')+4, DBMS_LOB.INSTR( audit_log, '2*N')- (DBMS_LOB.INSTR( audit_log, '2*C')+4)),'1234567890',' '),'*',',') Column_List,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center