특정 USER에서 DDL 등의 COMMAND 실행을 제한하는 방법 - DDL EVENT TRIGGER

제품 : ORACLE SERVER
작성날짜 :
특정 USER에서 DDL 등의 COMMAND 실행을 제한하는 방법 - DDL EVENT TRIGGER
=======================================================================
Purpose
User에 있는 table등에 DDL 문장이 실행되지 않도록 막고 싶은 경우가 있다.
Oracle8.1.6 부터 사용가능한 system trigger에 의해 이런 기능을 구현해 보자.
Explanation
Oracle8.1.6 의 new feature인 DDL event trigger를 이용하여 특정 user에서
특정 DDL(예를 들어 create, drop, truncate 등)이나 모든 DDL이 실행할 때
에러를 발생시킨다거나 특정한 action을 하도록 설정할 수 있다.
DML 의 경우는 기존의 trigger 대로 각 object에 대해 각각 생성하여야 한다.
이 자료에서는 주로 DDL 이나 DML 이 실행될 때 에러를 발생하도록 하여 해당
문장이 실행되지 않도록 하는 방법을 기술하였다.
(system or ddl event trigger에 대한 다른 자료로 Bulletin 11903,11848 참고)
DDL event trigger 를 이용하기 위해서는 $ORACLE_HOME/dbs/initSID.ora
file에서 COMPATIBLE parameter의 값이 "8.1.6" 이상으로 설정되어 있어야 한다.
DDL event trigger 는 각 DDL이 발생할 때에 실행되는 trigger로
다음과 같은 시점에서 실행되도록 만들 수 있다.
BEFORE ALTER, AFTER ALTER, BEFORE DROP, AFTER DROP,
BEFORE ANALYZE, AFTER ANALYZE, BEFORE ASSOCIATE STATISTICS,
AFTER ASSOCIATE STATISTICS, BEFORE AUDIT, AFTER AUDIT,
BEFORE NOAUDIT, AFTER NOAUDIT, BEFORE COMMENT, AFTER COMMENT,
BEFORE CREATE, AFTER CREATE, BEFORE DDL, AFTER DDL,
BEFORE DISASSOCIATE STATISTICS, AFTER DISASSOCIATE STATISTICS,
BEFORE GRANT, AFTER GRANT, BEFORE RENAME, AFTER RENAME,
BEFORE REVOKE, AFTER REVOKE, BEFORE TRUNCATE, AFTER TRUNCATE
Example
* 아래의 trigger 를 system 등의 별도로 관리하는 dba user에서 생성한다.
[예제1] EJ user에서 table과 index에 해당하는 DDL의 실행을 막는 경우
$ sqlplus system/manager
CREATE OR REPLACE TRIGGER ej_no_ddl
before DDL ON ej.schema
WHEN (ora_dict_obj_type = 'TABLE' or
ora_dict_obj_type = 'INDEX')
begin
raise_application_error (-20101, 'Cannot execute any DDL !!');
end;
-> 위의 trigger는 ej user의 schema 에서 Table과 Index 에 대한 DDL이
실행될 때 user-defined error ora-20101 이 발생하도록 한 것이다.
[예제2] EJ user에서 실행되는 모든 DDL을 막는 경우
$ sqlplus system/manager
CREATE OR REPLACE TRIGGER ej_no_ddl
before DDL ON ej.schema
begin
raise_application_error (-20101, 'Cannot execute any DDL !!');
end;
-> 위의 예제는 모든 DDL 이 실행될 때 에러를 발생시키게 된다.
예제1과 2의 경우 EJ user에서 DDL 실행시 아래와 같은 에러가 발생한다.
$ sqlplus ej/ej
SQL> create table test ( a number );
create table test ( a number )
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20101: Cannot execute any DDL !!
ORA-06512: at line 2
SQL> drop table dept;
drop table dept
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20101: Cannot execute any DDL !!
ORA-06512: at line 2
[예제3] EJ user에서 실행되는 drop과 truncate 문장을 막는 경우
$ sqlplus system/manager
CREATE OR REPLACE TRIGGER ej_no_ddl
before drop or truncate ON ej.schema
begin
raise_application_error (-20102, 'Cannot execute DROP or TRUNCATE !!');
end;
위와 같이 trigger를 생성한 경우 EJ user에서 table의 생성은 되지만 drop은 할 수
없다.
$ sqlplus ej/ej
SQL> create table test2 ( a number );
Table created.
SQL> drop table test2;
drop table test2
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20102: Cannot execute DROP or TRUNCATE !!
ORA-06512: at line 2
[예제4] EJ user의 docu2 table에 대한 dml을 막는 경우
$ sqlplus system/manager
CREATE OR REPLACE TRIGGER ej_no_dml_docu2
before insert or update or delete on ej.docu2
begin
raise_application_error (-20103, 'Cannot execute DML');
end;
$ sqlplus ej/ej
SQL> delete from docu2 where docu_id=2;
delete from docu2 where docu_id=2
ERROR at line 1:
ORA-20103: Cannot execute DML
ORA-06512: at "SYSTEM.EJ_NO_DML_DOCU2", line 2
ORA-04088: error during execution of trigger 'SYSTEM.EJ_NO_DML_DOCU2'
* table의 작업을 위해 일시적으로 trigger의 기능을
disable 또는 enable시킬 수 있다.
$ sqlplus system/manager
SQL> alter trigger ej_no_ddl disable;
or
SQL> alter trigger ej_no_ddl enable;

Similar Messages

  • ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-07
    ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)
    ================================================================
    PURPOSE
    자신이나 또는 다른 user들의 password를 바꾸는 등의 alter user command를
    사용한 사용자를 확인하는 방법을 알아보자.
    Explanation & Example
    1. 사용자 정보를 저장할 event table을 생성한다.
    Create event table and users to store the alterations made:
    SQL> connect / as sysdba;
    create table event_table
    ora_sysevent varchar2(20),
    ora_login_user varchar2(30),
    ora_instance_num number,
    ora_database_name varchar2(50),
    ora_dict_obj_name varchar2(30),
    ora_dict_obj_type varchar2(20),
    ora_dict_obj_owner varchar2(30),
    timestamp date
    create user test1 identified by test1;
    grant create session, alter user to test1;
    create user test2 identified by test2;
    grant create session to test2;
    2. SYS user에서 AFTER ALTER Client Event Trigger 를 생성한다.
    Note: This step creates a trigger and it is fired whenever the user "test1"
    issues ALTER command (It can be ALTER USER or ALTER TABLE)
    SQL> CREATE or REPLACE TRIGGER after_alter AFTER ALTER on database
    BEGIN
    IF (ora_dict_obj_type='USER') THEN
    insert into event_table
    values (ora_sysevent,
    ora_login_user,
    ora_instance_num,
    ora_database_name,
    ora_dict_obj_name,
    ora_dict_obj_type,
    ora_dict_obj_owner,
    sysdate);
    END IF;
    END;
    3. test1 user로 접속한 후 test2 user의 password를 변경하는 작업을 실행한다.
    SQL> connect test1/test1
    SQL> alter user test2 identified by foo;
    4. test2 user의 password가 test1 user에 의해 변경되면 그런 내용을
    event_table 에서 확인할 수 있다.
    Now that we have altered the "test2" user password from user "test1", the
    event_table should have captured this details.
    Now Login in as sys and Query on event_table:
    SQL> connect / as sysdba;
    SQL> select * from event_table;
    ORA_SYSEVENT ORA_LOGIN_USER ORA_INSTANCE_NUM
    ORA_DATABASE_NAME
    ORA_DICT_OBJ_NAME ORA_DICT_OBJ_TYPE
    ORA_DICT_OBJ_OWNER TIMESTAMP
    ALTER TEST1 1
    T901.IDC.ORACLE.COM
    TEST2 USER
    13-JUN-02
    event_table의 내용을 조회하여 LOGIN_USER와 ALTERED USER 는
    ORA_LOGIN_USER와 ORA_DICT_OBJ_NAME column을 통해 확인할 수 있다.
    비슷한 방법으로 아래의 event에서 trigger를 생성하여 확인할 수 있다.
    1) BEFORE DROP
    2) AFTER DROP
    3) BEFORE ANALYZE
    4) AFTER ANALYZE
    5) BEFORE DDL
    6) AFTER DDL
    7) BEFORE TRUNCATE
    8) AFTER TRUNCATE
    Related Documents
    Oracle Application Developer's Guide

  • Will any of DDL command trigger a data flush from the data buffer to disk?

    Will any of DDL command trigger a data flush from the data buffer to disk?---No.164

    I mean if I issue the DDL commands Such as DROP, TRUNCAE, CREATE, Can these commands trigger a data flush action?

  • No DDL commands found for activation of YCO_REPALVCOLOR

    Hi Gurus,
    we had a problem with one transport request which got successfully in Dev but failed in QUA environment.
    Transport needs to create a table in Qua env, but it is comleted successfully with RC=0. but error found in "Import steps not specific to transport request".
    Activate inactive runtime objects        12.07.2011 17:35:38    (8) Ended with errors
    ABAP Dictionary Distribution             12.07.2011 17:42:04    (0) Successfully Completed
    17:35:26: Retcode 1: error in DDL statement for YCO_REPALVCOLOR                - repeat
    Error 604-ORA-00604: error occurred at recursive SQL lev when executing ADD-FIELD of
    Error  in DDL statem when executing ADD-FIELD of
    Error YCO_REPALVCOLOR when executing ADD-FIELD of
            (dummy, do not translate)
    No DDL commands found for activation of YCO_REPALVCOLOR
    Could you please help me.
    Regards
    Sudhar

    Hi
    here is Import log
    Main import
    Transport request   : D<SID>K907261
    System              : Q<SID>
    tp path             : tp
    Version and release: 340.16.63 640
    R3trans version 6.13 (release 640 - 17.02.10 - 13:07:00).
    unicode enabled version
    ===============================================
    date&time   : 12.07.2011 - 17:35:41
    control file: /usr/sap/trans/tmp/D<SID>KK907261.Q<SID>
    > #pid 2461838 on parva1102546 (Q<SID>adm)
    > import
    > buffersync=yes
    > file='/usr/sap/trans/data/R907261.D<SID>'
    > continuation='/usr/sap/trans/data/R907261_#.D<SID>'
    > client=510
    > csi=yes
    > setunicodeflag yes
    >
    > excluding 'R3TRDDDD','R3TRDOMA','R3TRDTEL','R3TRENQU','R3TRMACO','R3TRMCID','R3TRMCOB','R3TRSHLP','R3TRSQLT','R3TRTABL','R3TRTTYP
    R3trans was called as follows: R3trans -w /usr/sap/trans/tmp/D<SID>I907261.Q<SID> /usr/sap/trans/tmp/D<SID>KK907261.Q<SID>
    Connected to DBMS = ORACLE     dbs_ora_tnsname = 'Q<SID>'     SYSTEM = 'Q<SID>'.
    0 0
    COMMIT (0).
    trace at level 1 opened for a given file pointer
    ================== STEP 1 =====================
    date&time   : 12.07.2011 - 17:35:41
    function    : IMPORT
    data file   : /usr/sap/trans/data/R907261.D<SID>
    Continuation: /usr/sap/trans/data/R907261_#.D<SID>
    buffersync  : YES
    client      : 510
    repeatimport: NO
    repeatclimp.: NO
    c.s.i.      : YES
    setunicdflg: YES
    l.s.m.      : VECTOR
    charsetadapt: YES
    def. charset: WEUROPEAN
    commit      : 100000
    table cache : 32000000
    EXCLUDING   : 'R3TRVIEW','R3TRUENO','R3TRTTYP','R3TRTABL','R3TRSQLT','R3TRSHLP','R3TRMCOB','R3TRMCID','R3TRMACO','R3TRENQU','R3TRDT
    Data file is compressed with algorithm 'L'.
    Export was executed on 12.07.2011 at 17:14:59 by D<SID>adm
    640
      with R3trans version: 17.02.10 - 13:07:00
    Source System = IBM RS/6000 with AIX on DBMS = ORACLE     dbs_ora_tnsname = 'D<SID>'     SYSTEM = 'D<SID>'.
    language vector during export: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdi(),./:;
    language vector during export: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdi(),./:;& (ISO-ARHECSDEENFRELHUITJADAPLZFNLNOPTSKRUESTRFISVB
    lsm during export: VECTOR
    trfunction = K (transport to consolidation system)
    Used Commandfile D<SID>K907261           (535646/3)
    2 E071C entries created
    Target client in E070C updated (510)
      0 entries for E070 imported (D<SID>K907261).
      0 entries for E071 imported (D<SID>K907261          *).
    R3TRDTELYY_LINEID was not imported in this step
    R3TRTABLYCO_REPALVCOLOR was not imported in this step
    D<SID>K907261           touched.
    636 636
    COMMIT (6559).
    6559 bytes read.
    Transport overhead 40.1 %.
    Data compressed to 9.8 %.
    Duration: 0 sec (6559 bytes/sec).
    0 0
    Summary:
    636 bytes modified in database.
    [dev trc     ,00000]  Disconnecting from ALL connections:                26787  0.026787
    [dev trc     ,00000]  Disconnecting from connection 0 ...                   70  0.026857
    [dev trc     ,00000]  Close user session (con_hdl=0,svchp=0x111415838,usrhp=0x111475f40)
                                                                                501  0.027358
    [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x111415838,srvhp=0x111416718)
                                                                                623  0.027981
    [dev trc     ,00000]  Now connection 0 is disconnected                     264  0.028245
    [dev trc     ,00000]  Disconnected from connection 0                        58  0.028303
    [dev trc     ,00000]  statistics db_con_commit (com_total=2, com_tx=2)
                                                                                  67  0.028370
      [dev trc     ,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)
                                                                                 144  0.028514
    Disconnected from database.
    End of Transport (0000).
    date&time: 12.07.2011 - 17:35:41
    Main import
    End date and time : 20110712173541
    Ended with return code:  ===> 0 <===

  • Execute DDL Commands inside a transactionScope

    Hi,
    I know that in Oracle all DDL commands include an implicit COMMIT so when you use one of them inside a transactionScope an exception is thrown due to this internal COMMIT. I’m receiving following exception ORA-02089: COMMIT is not allowed in a subordinate session. Is there any way to avoid this limitation?
    Thanks in advance,
    Francesc

    Hi,
    There's no way to get DDL to not autocommit.
    What you could do though is use a stored procedure to do the ddl, and declare the procedure with PRAGMA AUTONOMOUS_TRANSACTION.
    I'm not sure what the advisability of that is since anything that that occurs in the procedure wont be rolled back as part of the transaction, but it works anyway.
    Cheers,
    Greg
    create or replace procedure ExecOutsideTxn(strsql in varchar2) as
    pragma autonomous_transaction;
    begin
    execute immediate strsql;
    end;
    using System;
    using Oracle.DataAccess.Client;
    using System.Transactions;
    using System.Data;
    class Program
    static void Main(string[] args)
    using (TransactionScope ts = new TransactionScope(TransactionScopeOption.RequiresNew))
    using (OracleConnection con = new OracleConnection())
    con.ConnectionString = "user id=scott;password=tiger;data source=orcl";
    con.Open();
    using (OracleCommand cmd = new OracleCommand())
    cmd.CommandText = "begin ExecOutsideTxn('create table foo (col1 varchar2(10))');end;";
    cmd.Connection = con;
    cmd.ExecuteNonQuery();
    // do some other stuff
    ts.Complete();
    }

  • Error while generating DDL commands using startSQLRepository for a new Repository

    Hi,
    I am trying to generate DDL Commands using startSQLRepository for my new repository SubashRepository so that I can use them to create new table structure.
    All the repository related changes looks good. i can see my repository in ACC
    When I run the command:
    startSQLRepository -m SupremeATG –repository /com/supreme/SubashRepository /com/supreme/subashRepository.xml -outputSQLFile C:/ATG/ATG9.3/SupremeATG/config/com/supreme/subashRepositoryDDL.txt
    I get following error:
    Table 'SUBASH_MEMBER' in item-descriptor: 'member' does not exist in a table space accessible by the data source.  DatabaseMetaData.getColumns returns no columns
    Note:
    * errors related to definition file were cleared as the same command threw relevant exception while trying to store a array property with out creating a multi table.
    * Now this is the only exception i see
    * Some DDL are getting generated in the output file, but those are related to inventory repository (I am not sure why this is happening as I have specifically gave the path to my definition file).
    Any help in resolving this is highly appreciated.

    Pl post in the ATG forum

  • Getting an error while executing ddl commands using dblink

    Hi,
    i am using Oracle9iR2 Version.
    i have created a procedure like below to execute ddl commands on remote database through dblink using dbms_sql.
    CREATE OR REPLACE PROCEDURE run_remote_ddl (p_dblink VARCHAR2, qry VARCHAR2)
    AS
    c_handle NUMBER;
    feedback INTEGER;
    stat VARCHAR2 (2000);
    BEGIN
    stat := 'select DBMS_SQL.open_cursor' || p_dblink || ' from dual';
    EXECUTE IMMEDIATE stat
    INTO c_handle;
    stat :=
    'begin DBMS_SQL.parse'
    || p_dblink
    || ' ('
    || c_handle
    || ','''
    || qry
    || ''', DBMS_SQL.v7); end;';
    EXECUTE IMMEDIATE stat;
    stat :=
    ' select DBMS_SQL.EXECUTE' || p_dblink || '(' || c_handle
    || ') from dual';
    EXECUTE IMMEDIATE stat
    INTO feedback;
    stat :=
    'declare x integer; begin x:= :1; DBMS_SQL.close_cursor'
    || p_dblink
    || '(x); end;';
    EXECUTE IMMEDIATE stat
    USING c_handle;
    END;
    when i run this procedure like below
    begin
    run_remote_ddl ('@dblink', 'create table scott.ttt(num number)');
    end;
    got an error:
    ORA-06553: PLS-103: Encountered the symbol ".2" when expecting one of the following:
    . ( * @ & = - + ; < / > at in is mod not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like
    between ||
    The symbol ". was inserted before ".2" to continue.
    ORA-06512: at RUN_REMOTE_DDL", line 9
    ORA-06512: at line 2
    Please tell me how to resolve this.
    Thanks in advance.

    Hi,
    >
    ORA-06553: PLS-103: Encountered the symbol ".2" when expecting one of the following:
    . ( * @ & = - + ; < / > at in is mod not rem
    <an exponent (**)> or != or ~= >= <= <> and or like
    between
    >
    Hope you are not typing 2 instead of @ as both are on the same key
    Can you run the following and see what is happening
    CREATE OR REPLACE PROCEDURE run_remote_ddl (p_dblink VARCHAR2, qry VARCHAR2)
    AS
    c_handle NUMBER;
    feedback INTEGER;
    stat VARCHAR2 (2000);
    BEGIN
    dbms_output.put_line(p_dblink);
    stat := 'select DBMS_SQL.open_cursor@dblink from dual';
    --stat := 'select DBMS_SQL.open_cursor from dual';
    EXECUTE IMMEDIATE stat
    INTO c_handle;
    END;
    exec run_remote_ddl('@dblink', 'create table scott.ttt(num number)');Regards
    Edited by: yoonus on Feb 20, 2013 3:47 AM

  • Stop session from commit whenever DDL command takes place

    After DDL command the session is commited, we know.
    But I don't want to let the session to commit.
    Pls reply immediately.

    You can move your ddl off to a procedure/function that has its own (autonomous) transaction. For example, I've hidden TRUNCATE commands from the calling transaction this way.
    Of course this should be a rare exception. In general you really don't want to be performing ddl in your code.
    Cheers,
    Scott

  • No DDL Command found for activation of VSCAUFV_CN

    Dear Friends,
    I am getting RCC Error 8 for the VSCAUFV_CN.
    In Development its working fine but when i am sending request to Quaility its showing me error
    "No DDL Command found for activation of VSCAUFV_CN".
    Please let me konw what to do in this case.
    Rav Jordan

    Hi Rav,
    Free some disk space and try ,it will work.
    The below Reference  may help you :
    [http://www.sapfans.com/forums/viewtopic.php?f=12&t=318588&p=965954]
    Hope it will solve your issue.
    Regards
    CB

  • No DDL commands found for activation while updating SPAM/SAINT

    Hi,
    Hi,
    While updating SPAM/SAINT version 0053 (SAPKD70053) we are getting
    error in activation.
    If we check the logs we found error related to no ddl command found for
    activation
    No DDL commands found for activation of /SDF/SWCM_PAT03D
    No DDL commands found for activation of /SDF/SWCM_PAT03P
    No DDL commands found for activation of /SDF/SWCM_PAT03Q
    No DDL commands found for activation of CLNT_CVERS
    No DDL commands found for activation of CLNT_CVRS2
    No DDL commands found for activation of CVERS_SUB
    No DDL commands found for activation of PAD03
    No DDL commands found for activation of PAT05
    No DDL commands found for activation of PAT06
    No DDL commands found for activation of PAT09
    No DDL commands found for activation of PAT10B
    No DDL commands found for activation of PATPRDVRS
    No DDL commands found for activation of PATRTVERS
    No DDL commands found for activation of PATSWFEATR
    No DDL commands found for activation of PATSWFTINC
    No DDL commands found for activation of PRDVERS
    No DDL commands found for activation of STACKCOMPS
    No DDL commands found for activation of SWFEATURE
    No DDL commands found for activation of SWFEATUREINC
    No DDL commands found for activation of TECHUSAGES
    No DDL commands found for activation of TFDIR_INIM
    No DDL commands found for activation of TRBAT3
    We try to activate the table but were not able to activate it.It giving message that Table cannot be activated.
    Attaching the error log files
    System Details:
    SAP NetWeaver 2004s
    Database: DB2 10.5
    Can anyone help us in this

    Hi Amit,
    From the logs you attached
    2WETP000 13:44:36: Retcode 1024: error in DDL statement for "CLNT_CVRS2                    " - repe
    2WETP000 at
    2EETP345 13:44:48: Retcode 1024: SQL-error "-601-SQL0601N  The name of the object to be created is
    2EETP345 identical to the existing name "SAP<SID>.CLNT_CVRS2" of type "VIEW".  SQLSTATE=42710" in DDL
    2EETP345  statement for "CLNT_CVRS2 
    Can you check in database for the existence of the object.
    Also what is your kernel level ?
    Regards,
    Deepak Kori

  • DDL commands in APEX

    Can anyone help me how to use DDL commands in Apex ?
    For eg. DESCRIBE <table name>
    that is clickin a button should give me the description of the table..
    where should i give this query so that i would fetch me the table structure.
    thanks,
    arun

    Arun
    You can do this two ways.
    1) Go to SQL Commands in SQLWorkshop, type describe <tablename> in the upper window and click run, the table structure is displayed in the lower window
    2) Go to Object Browser in SQLWorkshop, the tables should be listed in the left hand side of the screen, choose the table you want to view and the structure is shown on the right hand side. You can also select to view the DDL script for this table here.
    Hope this helps, sorry, but I'm not sure of an area where you can just click a button.
    Karen

  • DDL commands through XSQL pages

    Dear All,
    Does anybody know how to run DDL commands such as DELETE or UPDATE through a XSQL page?
    1.DELETE FROM book
    WHERE publisher='Publisher2'
    2.UPDATE book
    SET price=150.5
    WHERE bookid=1
    If yes, could you please write how to implemet the above statements through an xsql page?
    Thanks,
    Mustafa
    null

    Use the <xsql:dml> action.
    See the online XSQL Pages Documentation, or my Building Oracle XML Applications book for details.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • See the detalis of DDL commands executing on oracle 10g

    Hi,
    how can i see the detail of DDL command executed on oracle 10g on ECC 6.0
    ECC 6.0
    HPUX
    Regards,

    Did you activated the auditing mechanish on the Oracle? If it is active, you can query the audit table;
    select * from sys.aud$;
    Another way is using Oracle Log Miner. You can find the related information, on the link below;
    http://docs.oracle.com/cd/B10501_01/server.920/a96521/logminer.htm
    Best regards,
    Orkun Gedik

  • BI Publisher event trigger and email notification

    How can I event-trigger a BI publisher report, i.e., start the BI publisher report after completion of a ETL job?
    In addition, after generation of the BI publisher report, how can I send to destinated email addresses?
    Thanks

    Write custom java code , which uses the BIP web-services and put a trigger on the ETLJOB.
    Re: Run BI Publisher from the command line through a shell script
    Re: Run BI Publisher from the command line through a shell script
    BIP has provided a webservice,
    One of the function is to run or schedule a report.
    Write a simple Java program, which will look at the server and point to run the report you wanted.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    some more doc's
    http://www.oracle.com/global/de/community/forms/documents/Forms_BIP_WS.pdf
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188/T421739T524310.htm

  • Event Trigger BI Publisher 11g

    I have an event trigger defined as type After Data. The function executes.. inserts into a table (table used to verify if function is actually executing via BI Publisher).
    The problem I'm seeing is that the parameter in the report that globally goes out is sent but the parameters that are globably coming back are not populated in the report.
    This package works fine in BI Publisher release 10.1.3.4.
    In the properties of the Data Model I have included package for Oracle DB Default Package
    The  parameter are defined as:
    1. Name: REQNUM, Data Type: String Default Value: Parameter Type: Text
    2. Name: PMAXUSER, Data Type: String Default Value: Parameter Type: Text
    3. Name: PMAXDATE, Data Type: String Default Value: Parameter Type: Text
    4. Name: MYTESt, Data Type: String Default Value: Parameter Type: Text
    In options I have Refresh other parameters on change checked.
    Thank you in advance for your help.

    First, make sure you've got enough machine resources as BIEE11g is resources hungry.
    Next, after installation you should have icons to start BIEE11g (try windows version as it is easier to start up).
    Run the startBIEE11g script and it will take some minutes, be patient. Once you get all processes running
    then you can try to login.
    Take a look at my post:
    http://oraclebiblog.blogspot.com/2010/11/starting-and-stopping-biee-from-command.html
    Good luck
    regards
    Jorge

Maybe you are looking for

  • XML and  images

    Have a quick question. How can you load an image to a dynamic text box from xml using a txt file and loadvars if you have html tags it will display &photo1 = <img src="photo1.jpg"/>&done=-1 var loadstuff = new LoadVars(); loadstuff.onLoad = function(

  • List of BCC roles with explanation

    Hi, does anybody have a list with an explanation of some of the roles available in BCC? I am mainly looking for: 100001-gear-manager 100001-guest 100001-leader 100001-page-manager 100001-portal-admin (where is the difference to 100001-member?) 100001

  • Does MyFaces works well in Sun Application Server

    I want to use its upload component, but I found that the AS was not in the compatible list of MyFaces. Is there anyone who has tried MyFaces's upload component in the Sun Application Server? Does it works well? Please tell me. Thank you for your help

  • Large table OperationsManager Database

    The OperationsManager Db is growing rapidly in our SCOM2012 environment. When querying the largest tables in the Opsmgr Db, the following table is on top MT_Website_0_Log (16GB). I'm trying to figure out which MP/monitor/rule is collecting this infor

  • Since new update my games on Zynga hog all my memory and run real slow - I'm frustrated!

    I updated firefox and flash as suggested and I have had problems ever since with it hogging all my memory and running real slow hanging up and constantly having to clear cookies and cache multiple times a day. I tried chrome and I don't like it. I li