Is the Use of ASM Mandatory in 11g Rel 2

Hello.
I am currently using Oracle DB server 11g Rel 1 (11.1.0.7.0). We are planning on going to Release 2 soon. We do not use ASM at the moment, but have a NAS implemetation instead. An associate of mine who is also on Rel 1 of 11g told me that I will be REQUIRED to use ASM when I go to 11g Rel 2. I have not ever heard this before and not found it in any documentation that I have ever looked at. My simple question: is ASM required when going to Oracle DB 11g Release 2? Thank you.
Matt

Matt,
From 11g onwards, the support of raw devices is removed by oracle. So what your colleague probably wanted to mention that if you are having a use of raw devices in the current set up of yours, it won't be supported in 11.2. This is partially correct since if you are already on raw, after upgrading as well, oracle would support it at least for 11.2 . In 12g, this won't be possible at all and you would need to migrate to the ASM on a mandatory basis. The file system support(cooked) remains as it is and thus is available in both previous versions and in 11.2 as well. This also would remain as a supported option in the next releases as well.
Hope that helps.
Aman....

Similar Messages

  • Use of COLLABORATIONS table in 11g PS3

    Hi All,
    Has anyone an idea on what is the use of table COLLABORATIONS in 11g PS3?
    Is there a component which uses this table? Is it just a vestige from 10g?
    We are implementing ACL based folders with some further customizations and want to ensure that these are not missing/clashing any OOTB features/functionlities.
    Regards,
    Prateek

    Please go thru this blog...nice explanation on Look up tables - new functionality in 11g
    http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-lookup-tables-sparse-and-dense-lookups/

  • Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Sorry I can't get the screen print to upload
    It says
    Mandatory Update Available
    A Mandatory version of this application is available for download. Application can't continue without installing this version.
    Application:     Acrobat_com
    Installed version: 2.0.0.0
    Update Version : 2.3.0.0
    Download now                    Quit
    Release notes ( this is blank)
    After selecting 'Download Now' I get the following message;
         Download failed
         There was an error downloading the update. Error #16820
         Close

  • How to repair the database used by Oracle Identity Manager 11g

    Hi friends,
    I have a question about Oracle Identity Manager 11g.
    As I can repair the database used by Oracle Identity Manager 11g
    Thanks

    I think you can do if the repaired database is replica of old one.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm

  • Using provisioning can I apply patches to the rdbms and asm home

    We have 24 patches that have been recommended by Oracle support to apply to RDBMS and ASM home. I currently have been using provisioning via GRID to apply 1 patch.
    My question is can I use provisioning to apply all 24 patches at one time to both the RDBMS and ASM home?

    You can apply all the patchese at one shot but u have to use two different DP
    Please refer the section Patching Oracle Database and Patching Oracle Automatic Storage Management (ASM) from the doc
    http://download.oracle.com/docs/cd/B16240_01/doc/doc.102/e14500/toc.htm#

  • Best Practices To Size the Datafile on ASM in Oracle 11gR2

    Hi DBAs,
    I need to know that what should be the datafile next extent on ASM. I have created a database 11gR2 with ASM. Now some certified DBA told me to create the datafile as small as possible and make it auto extend with the next extent size 1M. The expected data growth every month is about 20-25 Gig.
    Please let me know what are the best practices while for sizing the datafiles and extents in 11g using ASM. Any good document/note refer would be great help.
    Thanks
    -Samar-

    Hi Samar,
    I need to know that what should be the datafile next extent on ASM. I have created a database 11gR2 with ASM. >Now some certified DBA told me to create the datafile as small as possible and make it auto extend with the next >extent size 1M. The expected data growth every month is about 20-25 Gig.
    Please let me know what are the best practices while for sizing the datafiles and extents in 11g using ASM. Any >good document/note refer would be great help.I don't think there is any kind of recomendations for that, at least, I've never seen. As You probably know, ASM already divides the ASM files (any sort of files written in a ASM diskgroup) in extents and those extents are composed of AU. So, doesn't matter the datafile size, ASM will balace the I/O on all ASM disks in a diskgroup.
    I guess this thread ( AU_SIZE and Variable Extent Size ), even not being the subject of Your question, Will help You.
    I do believe there are more important factors for ASM performance, like stripe size, LUN size, storage configuration, etc.
    Hope it helps,
    Cerreia

  • How to delete the deployed composite in weblogic server 11g

    Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
    Thanks

    Hi
    1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
    2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
    3. If you really want to have a full clean soa domain, here is what you do:
    a) Run rcu and drop the existing schemas for soainfra and mds.
    b) Run rcu again and create above schemas again.
    c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
    3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
    Thanks
    Ravi Jegga

  • Restrict the use of index while quering

    Hi All
    I have a simple emp table with columns empid, name, sal. Empid has a primary key imposed.
    Now when i write a statement like this,
    select * from emp where empid = <value>;
    the optimizer will make use of index.
    The question is........... is there anyway to make oracle bypass the use of index without change in above query.

    Why do you worry of performance issues when the table size is small , when it is huge and the column you r trying use in the query is also indexed the oracle finds the Best execution method to do the execution whether index exists or not , Oracle has a very intelligent Optimizer and no need to use hints unless and until it is really mandatory or when u r using a very complex query where Oracle is not able to deduce the best Execution plan . But by all means you should look at the execution plan how a cerain query Oracle knows of doing it or when u have a diferering opinion then only at that point you force a Optomizer Hint . For other normal cases like the one you are asking it is best to get the results how Oracle executes it and no forcing is required .

  • Database link from Oracle to MySQL with the use of unixODBC

    Hi,
    I have 2 servers.
    Server A:
    - CentOS_5.1 x386
    - MySQL 5.1
    - unixODBC
    - mysql-connector-odbc
    Server B:
    - CentOS_5.1 x86_64
    - Oracle 11g
    - unixODBC
    - mysql-connector-odbc
    I've configured ODBC, so I am able to do "isql <DSN> oracle oracle -v" sucessfully with "root" and "oracle" user on Oracle server. I've configured listener.ora and tnsnames.ora
    I added below lines to listener.ora
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=mysqlware)
    (ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/hs/lib:/usr/lib64/:$ORACLE_HOME/lib)
    and lines below to tnsnames.ora
    mysqlware=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=<server's FQDN>)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlware))
    (HS=OK))
    The content of $ORACLE_HOME/hs/admin/initmysqlware.ora is
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysqlware
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc3.so
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    # Environment variables required for the non-Oracle system
    set <envvar>=<value>
    tnsping mysqlware returns.....
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=<server's FQDN>)) (PORT=1521)) (CONNECT_DATA= (SID=mysqlware)) (HS=OK))
    OK (10 msec)
    when I login to oracle and create PUBLIC DATABASE LINK with command....
    create public database link link2mysqlware connect to
    2 "oracle" identified by "oracle" using 'mysqlware';
    Database link created.
    THIS IS WHAT I GET.....
    SQL> select * from "emp"@link2mysqlware;
    select * from "emp"@link2mysqlware
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from LINK2MYSQLWARE
    There is "emp" table in MySQL, from where I can even select with the use of isql command and from this Oracle server.
    I would really appreciate some help here.
    Thanks in advance.
    Tomaz Bracic

    Evening Ed,
    I changed to debug and repeated the select ....... The output below is for one select that I did. (select * from "emp"@link1)
    Oracle Corporation --- WEDNESDAY MAR 19 2008 21:50:51.371
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlware"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:mysqlware
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2082a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208330
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a208af0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a209d60
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2117d0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a211c70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a214480
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a215930
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a216130
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b50
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a217b70
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a219270
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c410
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21c7b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21e250
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21eea0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a21f1a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a220fd0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2213a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222ee0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a222d30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a227dc0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2295b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a229be0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b030
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22b8f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22d550
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22daa0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a22e2f0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a230c30
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a231770
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232190
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a232c20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233110
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233a10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a233f20
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2344c0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a234b10
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2350a0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236640
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a236380
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2374e0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Entered hgolofns at 2008/03/19-21:50:51
    symbol_peflctx=0x6a2380b0
    hoaerr:0
    Exiting hgolofns at 2008/03/19-21:50:51
    Exiting hgolofn, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2008/03/19-21:50:51
    Entered hgolgon at 2008/03/19-21:50:51
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2008/03/19-21:50:51
    Exiting hgosuec, rc=0 at 2008/03/19-21:50:51
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2008/03/19-21:50:51
    HS_FDS_CONNECT_INFO = "mysqlware"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2008/03/19-21:50:51
    dsn:mysqlware, name:oracle
    optn:
    ##>Connect Parameters (len=35)<##
    ## DSN=mysqlware;
    #! UID=oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2008/03/19-21:50:51
    Entered hgopoer at 2008/03/19-21:50:51
    hgopoer, line 159: got native error 0 and sqlstate I; message follows...
    Exiting hgopoer, rc=0 at 2008/03/19-21:50:51
    hgocont, line 1903: calling SqlDriverConnect got sqlstate I
    Exiting hgocont, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgocont.c LINE:1923 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
    Entered hgoexit at 2008/03/19-21:50:51
    Kind regards,
    Tomaz

  • Data and Dashboard Security using ROLES Variable in OBIEE 11g

    Hi all,
    I'm currently using OBIEE 11g. I'm wondering how to implement the security for data and dashboard in the 11g.
    Below is the sample of how the security matrix requirement when I use the 10g version. In 10g, we usually use GROUP (for the data filter in RPD) and WEBGROUPS (for dashboard objects) variables in my initialization block to read from database. As we have 2 different variables, it is possible to control security separately for data and dashboard.
    GROUP | Country
    G1 | US
    G2 | FR
    G3 | UK
    WEBGROUPS | Dashboard
    WG1 | D1
    WG2 | D1
    WG3 | D1
    WG1 | D2
    WG2 | D2
    WG1 | D3
    WG3 | D3
    WG3 | D4
    Now, in 11g, the recommendation is to use ROLES variable (for application role). So, how would I apply the required security matrix above in 11g using just ROLES variable? Do I still create G1, G2, G3, WG1, WG2, and WG3 as application roles then only use G1-3 in the RPD to filter the data and only use WG1-3 in the analytics to serve as webgroups?
    Any advice on this? Thank you very much.

    "...Could you elaborate more?"
    I mean that role creation and user->role assignment will be managed outside of to the obiee interface - whether that's via the database, LDAP, fmw etc.
    Webgroup creation and assignment is managed within the obiee interface and I think that has a lot of benefits - generally you have people responsible for shared folders and dashboard creation, so having them responsible for webgroups and presentation permissions is preferable for me.
    "are you saying that I use the role G1-3 only in the RPD, while using the role WG1-3"
    Yes .. I'm assuming you have something like
    G1 | US
    G2 | FR
    G3 | UK
    WG1 | Finance
    WG2 | Marketing
    WG3 | Sales
    Which becomes
    R1 | US
    R2 | FR
    R3 | UK
    R4 | Finance
    R5 | Marketing
    R6 | Sales
    And John belongs to R1 and R4, Fred belongs to R2 and R4 etc. So you would set your data filters against R1-R3 and use R4-R6 like webgroups in the presentation services.
    Regards,
    Robert

  • How to polulate data from lookup using request dataset in OIM 11g

    Hi,
    Using Request dataset in OIM 11g, I need to display one dropdown with the roles those need to come from Lookup.
    For Ex; I have 2 resources,i.e Resource A and Resource B. Resource A has 5 roles and Resource B has 3 Roles.
    While creating a request, If I select Resource A, then I should be able to get 5 Roles and if I select Resource B then I should be able to see corresponding 3 roles.
    Pls. note I have only one Look up definition , where I have roles for both Resource A and B.
    I have done simillar thing in OIM 10g , however I am unable to do it using OIM 11g Request dataset.
    Pls suggest.

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • Generating CDATA containing XML-like text using XSLT Mapper in OFM 11g

    Hi,
    One of our partners requires XML to be sent as XML string inside a CDATA section. The use of "real" XML is not an option at the moment. We try to generate something like the following using XSLT/XSLT Mapper in SOA Suite 11g:
    <element>
    <![CDATA[
    <supplierElement1>
    <supplierElement2>
    etcetera
    <supplierElement2>
    </supplierElement1>
    ]]>
    </element>
    We've tried the following two approaches, so far unsuccessful:
    <xsl:template match="/">
    <inp1:singleString>
    <inp1:input>
    <xsl:text disable-output-escaping="yes">&lt;![CDATA[test]]&gt;</xsl:text>
    </inp1:input
    </inp1:singleString>
    </xsl:template>
    resulting in:
    <inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString">
    <inp1:input>&lt;![CDATA[test]]></inp1:input>
    </inp1:singleString>
    and:
    <xsl:output method="xml" indent="yes" cdata-section-elements="input"/>
    <xsl:template match="/">
    <inp1:singleString>
    <input>test</input>
    </inp1:singleString>
    </xsl:template>
    resulting in:
    <inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <input>test</input>
    </inp1:singleString>
    Does anyone know how to generate the CDATA section declaratively (within XSLT/XSLT Mapper), without resorting to custom code and parsing as we have to do now?
    Thanks!
    Ronald

    The exact error message I'm getting is :
    ABAP XML formatting error in XML node of type "element", name: "abap"

  • The usefulness (?) of XMLDIFF in database change management

    I post my example here as well, because maybe it is useful to some, for instance, regarding the use of the syntax. The example is explained more deeply here (at least the reasons why I did what I did).: http://www.liberidu.com/blog/?p=394
    Some help is still appreciated from you ("you" as in you the "XMLTable and/or XQuery wizards") regarding the "LINE" problem at the end of the post/example given here.
    Have a look here (and enjoy the examples).
    M.
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> set long 10000000
    SQL> set pages 5000
    SQL> set lines 200
    SQL> create table A
      2  (id number(10));
    Table created.
    SQL>  create table B
      2  (id number(15));
    Table created.
    SQL> create table C
      2  (id number(10),
      3  extra varchar2(50));
    Table created.
    SQL> select dbms_metadata.get_ddl('TABLE','A') from dual;
    DBMS_METADATA.GET_DDL('TABLE','A')
      CREATE TABLE "SYSTEM"."A"
       (    "ID" NUMBER(10,0)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "SYSTEM"
    SQL> select dbms_metadata.get_ddl('TABLE','B') from dual;
    DBMS_METADATA.GET_DDL('TABLE','B')
      CREATE TABLE "SYSTEM"."B"
       (    "ID" NUMBER(15,0)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "SYSTEM"
    SQL> select dbms_metadata.get_ddl('TABLE','C') from dual;
    DBMS_METADATA.GET_DDL('TABLE','C')
      CREATE TABLE "SYSTEM"."C"
       (    "ID" NUMBER(10,0),
            "EXTRA" VARCHAR2(50)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "SYSTEM"
      TABLESPACE "SYSTEM"
    SQL> SELECT dbms_metadata.compare_alter('TABLE','A','B',USER,USER) from dual;
    DBMS_METADATA.COMPARE_ALTER('TABLE','A','B',USER,USER)
    ALTER TABLE "SYSTEM"."A" MODIFY ("ID" NUMBER(15,0))
      ALTER TABLE "SYSTEM"."A" RENAME TO "B"
    SQL> SELECT dbms_metadata.compare_alter('TABLE','A','C',USER,USER) from dual;
    DBMS_METADATA.COMPARE_ALTER('TABLE','A','C',USER,USER)
    ALTER TABLE "SYSTEM"."A" ADD ("EXTRA" VARCHAR2(50))
      ALTER TABLE "SYSTEM"."A" RENAME TO "C"
    SQL> SELECT dbms_metadata.compare_alter('TABLE','B','C',USER,USER) from dual;
    DBMS_METADATA.COMPARE_ALTER('TABLE','B','C',USER,USER)
    ALTER TABLE "SYSTEM"."B" ADD ("EXTRA" VARCHAR2(50))
      ALTER TABLE "SYSTEM"."B" MODIFY ("ID" NUMBER(10,0))
      ALTER TABLE "SYSTEM"."B" RENAME TO "C"
    SQL> SELECT dbms_metadata.compare_alter_xml('TABLE','A','B',USER,USER) from dual;
    DBMS_METADATA.COMPARE_ALTER_XML('TABLE','A','B',USER,USER)
    <ALTER_XML xmlns="http://xmlns.oracle.com/ku" version="1.0">
       <OBJECT_TYPE>TABLE</OBJECT_TYPE>
       <OBJECT1>
          <SCHEMA>SYSTEM</SCHEMA>
          <NAME>A</NAME>
       </OBJECT1>
       <OBJECT2>
          <SCHEMA>SYSTEM</SCHEMA>
          <NAME>B</NAME>
       </OBJECT2>
       <ALTER_LIST>
          <ALTER_LIST_ITEM>
             <SQL_LIST>
                <SQL_LIST_ITEM>ALTER TABLE "SYSTEM"."A" MODIFY ("ID" NUMBER(15,0))</SQL_LIST_ITEM>
             </SQL_LIST>
          </ALTER_LIST_ITEM>
          <ALTER_LIST_ITEM>
             <SQL_LIST>
                <SQL_LIST_ITEM>ALTER TABLE "SYSTEM"."A" RENAME TO "B"</SQL_LIST_ITEM>
             </SQL_LIST>
          </ALTER_LIST_ITEM>
       </ALTER_LIST>
    </ALTER_XML>
    SQL> SELECT dbms_metadata.compare_sxml('TABLE','A','B',USER,USER) from dual;
    DBMS_METADATA.COMPARE_SXML('TABLE','A','B',USER,USER)
    <TABLE xmlns="http://xmlns.oracle.com/ku" version="1.0">
      <SCHEMA>SYSTEM</SCHEMA>
      <NAME value1="A">B</NAME>
      <RELATIONAL_TABLE>
        <COL_LIST>
          <COL_LIST_ITEM>
            <NAME>ID</NAME>
            <DATATYPE>NUMBER</DATATYPE>
            <PRECISION value1="10">15</PRECISION>
            <SCALE>0</SCALE>
          </COL_LIST_ITEM>
        </COL_LIST>
        <PHYSICAL_PROPERTIES>
          <HEAP_TABLE>
            <SEGMENT_ATTRIBUTES>
              <PCTFREE>10</PCTFREE>
              <PCTUSED>40</PCTUSED>
              <INITRANS>1</INITRANS>
              <STORAGE>
                <INITIAL>65536</INITIAL>
                <NEXT>1048576</NEXT>
                <MINEXTENTS>1</MINEXTENTS>
                <MAXEXTENTS>2147483645</MAXEXTENTS>
                <PCTINCREASE>0</PCTINCREASE>
                <FREELISTS>1</FREELISTS>
                <FREELIST_GROUPS>1</FREELIST_GROUPS>
                <BUFFER_POOL>DEFAULT</BUFFER_POOL>
              </STORAGE>
              <TABLESPACE>SYSTEM</TABLESPACE>
              <LOGGING>Y</LOGGING>
            </SEGMENT_ATTRIBUTES>
            <COMPRESS>N</COMPRESS>
          </HEAP_TABLE>
        </PHYSICAL_PROPERTIES>
      </RELATIONAL_TABLE>
    </TABLE>
    SQL> SELECT dbms_metadata.get_sxml('TABLE', 'A', USER) from dual;
    DBMS_METADATA.GET_SXML('TABLE','A',USER)
      <TABLE xmlns="http://xmlns.oracle.com/ku" version="1.0">
       <SCHEMA>SYSTEM</SCHEMA>
       <NAME>A</NAME>
       <RELATIONAL_TABLE>
          <COL_LIST>
             <COL_LIST_ITEM>
                <NAME>ID</NAME>
                <DATATYPE>NUMBER</DATATYPE>
                <PRECISION>10</PRECISION>
                <SCALE>0</SCALE>
             </COL_LIST_ITEM>
          </COL_LIST>
          <PHYSICAL_PROPERTIES>
             <HEAP_TABLE>
                <SEGMENT_ATTRIBUTES>
                   <PCTFREE>10</PCTFREE>
                   <PCTUSED>40</PCTUSED>
                   <INITRANS>1</INITRANS>
                   <STORAGE>
                      <INITIAL>65536</INITIAL>
                      <NEXT>1048576</NEXT>
                      <MINEXTENTS>1</MINEXTENTS>
                      <MAXEXTENTS>2147483645</MAXEXTENTS>
                      <PCTINCREASE>0</PCTINCREASE>
                      <FREELISTS>1</FREELISTS>
                      <FREELIST_GROUPS>1</FREELIST_GROUPS>
                      <BUFFER_POOL>DEFAULT</BUFFER_POOL>
                   </STORAGE>
                   <TABLESPACE>SYSTEM</TABLESPACE>
                   <LOGGING>Y</LOGGING>
                </SEGMENT_ATTRIBUTES>
                <COMPRESS>N</COMPRESS>
             </HEAP_TABLE>
          </PHYSICAL_PROPERTIES>
       </RELATIONAL_TABLE>
    </TABLE>
    -- dbms_metadata.set_transform_param
    -- http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_metada.htm#i1000135
    SQL> exec dbms_metadata.set_transform_param( dbms_metadata.session_transform, 'STORAGE', FALSE);
    PL/SQL procedure successfully completed.
    SQL> select dbms_metadata.get_ddl('TABLE','A') from dual;
    DBMS_METADATA.GET_DDL('TABLE','A')
      CREATE TABLE "SYSTEM"."A"
       (    "ID" NUMBER(10,0)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      TABLESPACE "SYSTEM"
    SQL> exec dbms_metadata.set_transform_param( dbms_metadata.session_transform, 'DEFAULT');
    PL/SQL procedure successfully completed.
    SQL> select dbms_metadata.get_ddl('TABLE','A') from dual;
    DBMS_METADATA.GET_DDL('TABLE','A')
      CREATE TABLE "SYSTEM"."A"
       (    "ID" NUMBER(10,0)
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "SYSTEM"
    SQL> exec dbms_metadata.set_transform_param( dbms_metadata.session_transform, 'SEGMENT_ATTRIBUTES', FALSE);
    PL/SQL procedure successfully completed.
    SQL> select dbms_metadata.get_ddl('TABLE','A') from dual;
    DBMS_METADATA.GET_DDL('TABLE','A')
      CREATE TABLE "SYSTEM"."A"
       (    "ID" NUMBER(10,0)
    -- dbms_metadata.set_transform_param ONLY for DDL statements...
    -- http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_metada.htm#i1019414
    SQL> select dbms_metadata.get_xml('TABLE','A') from dual;
    DBMS_METADATA.GET_XML('TABLE','A')
    <?xml version="1.0"?><ROWSET><ROW>
      <TABLE_T>
    <VERS_MAJOR>1</VERS_MAJOR>
    <VERS_MINOR>2 </VERS_MINOR>
    <OBJ_NUM>58932</OBJ_NUM>
    <SCHEMA_OBJ>
      <OBJ_NUM>58932</OBJ_NUM>
      <DATAOBJ_NUM>58932</DATAOBJ_NUM>
      <OWNER_NUM>5</OWNER_NUM>
      <OWNER_NAME>SYSTEM</OWNER_NAME>
      <NAME>A</NAME>
      <NAMESPACE>1</NAMESPACE>
      <TYPE_NUM>2</TYPE_NUM>
      <TYPE_NAME>TABLE</TYPE_NAME>
      <CTIME>2008-03-19 11:16:45</CTIME>
      <MTIME>2008-03-19 11:16:45</MTIME>
      <STIME>2008-03-19 11:16:45</STIME>
      <STATUS>1</STATUS>
      <FLAGS>0</FLAGS>
      <SPARE1>6</SPARE1>
      <SPARE2>1</SPARE2>
      <SPARE3>5</SPARE3>
    </SCHEMA_OBJ>
    <STORAGE>
      <FILE_NUM>1</FILE_NUM>
      <BLOCK_NUM>65369</BLOCK_NUM>
      <TYPE_NUM>5</TYPE_NUM>
      <TS_NUM>0</TS_NUM>
      <BLOCKS>8</BLOCKS>
      <EXTENTS>1</EXTENTS>
      <INIEXTS>8</INIEXTS>
      <MINEXTS>1</MINEXTS>
      <MAXEXTS>2147483645</MAXEXTS>
      <EXTSIZE>128</EXTSIZE>
      <EXTPCT>0</EXTPCT>
      <USER_NUM>5</USER_NUM>
      <LISTS>1</LISTS>
      <GROUPS>1</GROUPS>
      <BITMAPRANGES>2147483645</BITMAPRANGES>
      <CACHEHINT>0</CACHEHINT>
      <SCANHINT>0</SCANHINT>
      <HWMINCR>58932</HWMINCR>
      <FLAGS>4325377</FLAGS>
    </STORAGE>
    <TS_NAME>SYSTEM</TS_NAME>
    <BLOCKSIZE>8192</BLOCKSIZE>
    <DATAOBJ_NUM>58932</DATAOBJ_NUM>
    <COLS>1</COLS>
    <PCT_FREE>10</PCT_FREE>
    <PCT_USED>40</PCT_USED>
    <INITRANS>1</INITRANS>
    <MAXTRANS>255</MAXTRANS>
    <FLAGS>1</FLAGS>
    <AUDIT_VAL>--------------------------------------</AUDIT_VAL>
    <INTCOLS>1</INTCOLS>
    <KERNELCOLS>1</KERNELCOLS>
    <PROPERTY>536870912</PROPERTY>
    <PROPERTY2>0</PROPERTY2>
    <XMLSCHEMACOLS>N</XMLSCHEMACOLS>
    <TRIGFLAG>0</TRIGFLAG>
    <SPARE1>736</SPARE1>
    <SPARE6>19-MAR-08</SPARE6>
    <COL_LIST>
      <COL_LIST_ITEM>
       <OBJ_NUM>58932</OBJ_NUM>
       <COL_NUM>1</COL_NUM>
       <INTCOL_NUM>1</INTCOL_NUM>
       <SEGCOL_NUM>1</SEGCOL_NUM>
       <PROPERTY>0</PROPERTY>
       <NAME>ID</NAME>
       <TYPE_NUM>2</TYPE_NUM>
       <LENGTH>22</LENGTH>
       <PRECISION_NUM>10</PRECISION_NUM>
       <SCALE>0</SCALE>
       <NOT_NULL>0</NOT_NULL>
       <CHARSETID>0</CHARSETID>
       <CHARSETFORM>0</CHARSETFORM>
       <BASE_INTCOL_NUM>1</BASE_INTCOL_NUM>
       <BASE_COL_TYPE>0</BASE_COL_TYPE>
       <SPARE1>0</SPARE1>
       <SPARE2>0</SPARE2>
       <SPARE3>0</SPARE3>
      </COL_LIST_ITEM>
    </COL_LIST>
    <CON0_LIST/>
    <CON1_LIST/>
    <CON2_LIST/>
    <REFPAR_LEVEL>0</REFPAR_LEVEL>
    </TABLE_T>
    </ROW></ROWSET>
    SQL> select dbms_metadata.get_xml('TABLE','B') from dual;
    DBMS_METADATA.GET_XML('TABLE','B')
    <?xml version="1.0"?><ROWSET><ROW>
      <TABLE_T>
    <VERS_MAJOR>1</VERS_MAJOR>
    <VERS_MINOR>2 </VERS_MINOR>
    <OBJ_NUM>58933</OBJ_NUM>
    <SCHEMA_OBJ>
      <OBJ_NUM>58933</OBJ_NUM>
      <DATAOBJ_NUM>58933</DATAOBJ_NUM>
      <OWNER_NUM>5</OWNER_NUM>
      <OWNER_NAME>SYSTEM</OWNER_NAME>
      <NAME>B</NAME>
      <NAMESPACE>1</NAMESPACE>
      <TYPE_NUM>2</TYPE_NUM>
      <TYPE_NAME>TABLE</TYPE_NAME>
      <CTIME>2008-03-19 11:17:05</CTIME>
      <MTIME>2008-03-19 11:17:05</MTIME>
      <STIME>2008-03-19 11:17:05</STIME>
      <STATUS>1</STATUS>
      <FLAGS>0</FLAGS>
      <SPARE1>6</SPARE1>
      <SPARE2>1</SPARE2>
      <SPARE3>5</SPARE3>
    </SCHEMA_OBJ>
    <STORAGE>
      <FILE_NUM>1</FILE_NUM>
      <BLOCK_NUM>65377</BLOCK_NUM>
      <TYPE_NUM>5</TYPE_NUM>
      <TS_NUM>0</TS_NUM>
      <BLOCKS>8</BLOCKS>
      <EXTENTS>1</EXTENTS>
      <INIEXTS>8</INIEXTS>
      <MINEXTS>1</MINEXTS>
      <MAXEXTS>2147483645</MAXEXTS>
      <EXTSIZE>128</EXTSIZE>
      <EXTPCT>0</EXTPCT>
      <USER_NUM>5</USER_NUM>
      <LISTS>1</LISTS>
      <GROUPS>1</GROUPS>
      <BITMAPRANGES>2147483645</BITMAPRANGES>
      <CACHEHINT>0</CACHEHINT>
      <SCANHINT>0</SCANHINT>
      <HWMINCR>58933</HWMINCR>
      <FLAGS>4325377</FLAGS>
    </STORAGE>
    <TS_NAME>SYSTEM</TS_NAME>
    <BLOCKSIZE>8192</BLOCKSIZE>
    <DATAOBJ_NUM>58933</DATAOBJ_NUM>
    <COLS>1</COLS>
    <PCT_FREE>10</PCT_FREE>
    <PCT_USED>40</PCT_USED>
    <INITRANS>1</INITRANS>
    <MAXTRANS>255</MAXTRANS>
    <FLAGS>1</FLAGS>
    <AUDIT_VAL>--------------------------------------</AUDIT_VAL>
    <INTCOLS>1</INTCOLS>
    <KERNELCOLS>1</KERNELCOLS>
    <PROPERTY>536870912</PROPERTY>
    <PROPERTY2>0</PROPERTY2>
    <XMLSCHEMACOLS>N</XMLSCHEMACOLS>
    <TRIGFLAG>0</TRIGFLAG>
    <SPARE1>736</SPARE1>
    <SPARE6>19-MAR-08</SPARE6>
    <COL_LIST>
      <COL_LIST_ITEM>
       <OBJ_NUM>58933</OBJ_NUM>
       <COL_NUM>1</COL_NUM>
       <INTCOL_NUM>1</INTCOL_NUM>
       <SEGCOL_NUM>1</SEGCOL_NUM>
       <PROPERTY>0</PROPERTY>
       <NAME>ID</NAME>
       <TYPE_NUM>2</TYPE_NUM>
       <LENGTH>22</LENGTH>
       <PRECISION_NUM>15</PRECISION_NUM>
       <SCALE>0</SCALE>
       <NOT_NULL>0</NOT_NULL>
       <CHARSETID>0</CHARSETID>
       <CHARSETFORM>0</CHARSETFORM>
       <BASE_INTCOL_NUM>1</BASE_INTCOL_NUM>
       <BASE_COL_TYPE>0</BASE_COL_TYPE>
       <SPARE1>0</SPARE1>
       <SPARE2>0</SPARE2>
       <SPARE3>0</SPARE3>
      </COL_LIST_ITEM>
    </COL_LIST>
    <CON0_LIST/>
    <CON1_LIST/>
    <CON2_LIST/>
    <REFPAR_LEVEL>0</REFPAR_LEVEL>
    </TABLE_T>
    </ROW></ROWSET>
    SQL> desc a
    Name                                      Null?    Type
    ID                                                 NUMBER(10)
    SQL> desc b
    Name                                      Null?    Type
    ID                                                 NUMBER(15)
    SQL> exec dbms_metadata.set_transform_param( dbms_metadata.session_transform, 'DEFAULT');
    PL/SQL procedure successfully completed.
    SQL> select XMLDIFF(
      2                 xmltype(dbms_metadata.get_xml('TABLE','A')),
      3                 xmltype(dbms_metadata.get_xml('TABLE','B'))
      4                ) as "DIFFERENCES"
      5  from dual;
    DIFFERENCES
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd"
        xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]">
        <xd:content>B</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/CTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/MTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/STIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/BLOCK_NUM[1]/text()[1]">
        <xd:content>65377</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/HWMINCR[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/PRECISION_NUM[1]/text()[1]">
        <xd:content>15</xd:content>
      </xd:update-node>
    </xd:xdiff>
    SQL> select XMLDIFF(
      2                 xmltype(dbms_metadata.get_xml('TABLE','B')),
      3                 xmltype(dbms_metadata.get_xml('TABLE','A'))
      4                ) as "DIFFERENCES"
      5  from dual;
    DIFFERENCES
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd"
        xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-al
    gorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]">
        <xd:content>A</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/CTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/MTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/STIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/BLOCK_NUM[1]/text()[1]">
        <xd:content>65369</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/HWMINCR[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/PRECISION_NUM[1]/text()[1]">
        <xd:content>10</xd:content>
      </xd:update-node>
    </xd:xdiff>
    SQL> WITH tabxml AS                                                                        
      2   (SELECT XMLDIFF(                                                                     
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),                
      4                            xmltype(dbms_metadata.get_xml('TABLE','B'))                 
      5                           ) xmlset                                                     
      6           FROM dual)                                                                   
      7  SELECT u.element_name                                                                 
      8  ,      u.element_value                                                             
      9  FROM   tabxml                                                                         
    10  ,      XMLTABLE                                                                       
    11         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    12          ,'//xd:update-node'                                                                   
    13           PASSING xmlset                                                               
    14           COLUMNS  element_name  xmltype PATH '//xd:update-node/@xd:xpath'
    15           ,        element_value xmltype PATH '//xd:content/text()'                      
    16         ) u                                                                            
    17  ;                                                                                     
    ELEMENT_NAME
    ELEMENT_VALUE
    /ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ_NUM[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/OBJ_NUM[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/DATAOBJ_NUM[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]
    B
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/CTIME[1]/text()[1]
    2008-03-19 11:17:05
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/MTIME[1]/text()[1]
    2008-03-19 11:17:05
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/STIME[1]/text()[1]
    2008-03-19 11:17:05
    /ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/BLOCK_NUM[1]/text()[1]
    65377
    /ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/HWMINCR[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/DATAOBJ_NUM[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/OBJ_NUM[1]/text()[1]
    58933
    /ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_ITEM[1]/PRECISION_NUM[1]/text(
    )[1]
    15
    12 rows selected.
    SQL> WITH tabxml AS                                                                        
      2   (SELECT XMLDIFF(                                                                     
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),                
      4                            xmltype(dbms_metadata.get_xml('TABLE','B'))                 
      5                           ) xmlset                                                     
      6           FROM dual)                                                                   
      7  SELECT u.element_name                                                                 
      8  ,      u.element_value                                                             
      9  FROM   tabxml                                                                         
    10  ,      XMLTABLE                                                                       
    11         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    12          ,'//xd:update-node'                                                                   
    13           PASSING xmlset                                                               
    14           COLUMNS  element_name  xmltype PATH '//xd:update-node[@xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]"]'
    15           ,        element_value xmltype PATH '//xd:content/text()'                      
    16         ) u
    17  WHERE  u.element_name is not null                                                             
    18  ;                                                                                     
    ELEMENT_NAME
    ELEMENT_VALUE
    <xd:update-node xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xd:node-type="t
    ext" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]"><xd
    :content>B</xd:content></xd:update-node>
    B
    SQL> col NAME  for a60
    SQL> col VALUE for a20
    SQL> WITH tabxml AS                                                                        
      2   (SELECT XMLDIFF(                                                                     
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),                
      4                            xmltype(dbms_metadata.get_xml('TABLE','B'))                 
      5                           ) xmlset                                                     
      6           FROM dual)                                                                   
      7  SELECT extract(u.element_name,'//@xd:xpath','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"') as "NAME"                                     
      8  ,      u.element_value                                                                          as "VALUE"                                             
      9  FROM   tabxml                                                                         
    10  ,      XMLTABLE                                                                       
    11         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    12          ,'//xd:update-node'                                                                         
    13           PASSING xmlset                                                               
    14           COLUMNS  element_name  xmltype PATH '//xd:update-node[@xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]"]'
    15           ,        element_value xmltype PATH '//xd:content/text()'                      
    16         ) u
    17  WHERE  u.element_name is not null                                                                           
    18  ;                                                                                     
    NAME                                                         VALUE
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1] B
    SQL> select XMLCONCAT(XMLDIFF(
      2          xmltype(dbms_metadata.get_xml('TABLE','A')),
      3          xmltype(dbms_metadata.get_xml('TABLE','B'))
      4         ),
      5                  XMLDIFF(
      6          xmltype(dbms_metadata.get_xml('TABLE','B')),
      7          xmltype(dbms_metadata.get_xml('TABLE','A'))
      8         ) )
      9  from dual;
    XMLCONCAT(XMLDIFF(XMLTYPE(DBMS_METADATA.GET_XML('TABLE','A')),XMLTYPE(DBMS_METAD
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns
    .oracle.com/xdb/xdiff.xsd" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmln
    s:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-al
    gorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ
    _NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/NAME[1]/text()[1]">
        <xd:content>B</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/CTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/MTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/STIME[1]/text()[1]">
        <xd:content>2008-03-19 11:17:05</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STO
    RAGE[1]/BLOCK_NUM[1]/text()[1]">
        <xd:content>65377</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STO
    RAGE[1]/HWMINCR[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DAT
    AOBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL
    _LIST[1]/COL_LIST_ITEM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58933</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL
    _LIST[1]/COL_LIST_ITEM[1]/PRECISION_NUM[1]/text()[1]">
        <xd:content>15</xd:content>
      </xd:update-node>
    </xd:xdiff>
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns
    .oracle.com/xdb/xdiff.xsd" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmln
    s:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-al
    gorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ
    _NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/DATAOBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/NAME[1]/text()[1]">
        <xd:content>A</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/CTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/MTIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCH
    EMA_OBJ[1]/STIME[1]/text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STO
    RAGE[1]/BLOCK_NUM[1]/text()[1]">
        <xd:content>65369</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STO
    RAGE[1]/HWMINCR[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DAT
    AOBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL
    _LIST[1]/COL_LIST_ITEM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL
    _LIST[1]/COL_LIST_ITEM[1]/PRECISION_NUM[1]/text()[1]">
        <xd:content>10</xd:content>
      </xd:update-node>
    </xd:xdiff>
    SQL> WITH tabxml AS                                                                        
      2   ( select XMLCONCAT(XMLDIFF(
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),
      4                            xmltype(dbms_metadata.get_xml('TABLE','B'))
      5                           ),
      6                                    XMLDIFF(
      7                            xmltype(dbms_metadata.get_xml('TABLE','B')),
      8                            xmltype(dbms_metadata.get_xml('TABLE','A'))
      9                           ) ) xmlset
    10   from DUAL)                                                                   
    11  SELECT extract(u.element_name,'//@xd:xpath','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"') as "NAME"                                        
    12  ,      u.element_value                                                                          as "VALUE"                                                
    13  FROM   tabxml                                                                         
    14  ,      XMLTABLE                                                                       
    15         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    16          ,'//xd:update-node'                                                                         
    17           PASSING xmlset                                                               
    18           COLUMNS  element_name  xmltype PATH '//xd:update-node[@xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]"]'
    19           ,        element_value xmltype PATH '//xd:content/text()'                      
    20         ) u
    21  WHERE  u.element_name is not null                                                                           
    22  ;                                                                                     
    NAME                                                         VALUE
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1] B
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1] A
    SQL> WITH tabxml AS                                                                        
      2   ( select XMLCONCAT(XMLDIFF(
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),
      4                            xmltype(dbms_metadata.get_xml('TABLE','B'))
      5                           ),
      6                                    XMLDIFF(
      7                            xmltype(dbms_metadata.get_xml('TABLE','B')),
      8                            xmltype(dbms_metadata.get_xml('TABLE','A'))
      9                           ) ) xmlset
    10   from DUAL)                                                                   
    11  SELECT extract(u.element_name,'//@xd:xpath','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"') as "NAME"                                            
    12  ,      u.element_value                                                                 as "VALUE"                                                    
    13  FROM   tabxml                                                                         
    14  ,      XMLTABLE                                                                       
    15         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    16          ,'/xd:xdiff/xd:update-node'                                                                         
    17           PASSING xmlset                                                               
    18           COLUMNS  element_name  xmltype PATH '/xd:update-node[@xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1]"]'
    19           ,        element_value xmltype PATH '/xd:update-node/xd:content/text()'                      
    20         ) u
    21  WHERE  u.element_name is not null                                                                           
    22  ;                                                                                     
    NAME                                                         VALUE
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1] B
    /ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/text()[1] A
    SQL> select XMLCONCAT(XMLDIFF(
      2                           xmltype(dbms_metadata.get_xml('TABLE','A')),
      3                           xmltype(dbms_metadata.get_xml('TABLE','C'))
      4                          ),
      5                                   XMLDIFF(
      6                           xmltype(dbms_metadata.get_xml('TABLE','C')),
      7                           xmltype(dbms_metadata.get_xml('TABLE','A'))
      8                          ) )
      9  from DUAL
    10  ;
    XMLCONCAT(XMLDIFF(XMLTYPE(DBMS_METADATA.GET_XML('TABLE','A')),XMLTYPE(DBMS_METADATA.GET_XML('TABLE',
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdif
    f.xsd" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/OBJ_NUM[1
    ]/text()[1]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/DATAOBJ_N
    UM[1]/text()[1]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/t
    ext()[1]">
        <xd:content>C</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/CTIME[1]/
    text()[1]">
        <xd:content>2008-03-19 15:08:47</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/MTIME[1]/
    text()[1]">
        <xd:content>2008-03-19 15:08:47</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/STIME[1]/
    text()[1]">
        <xd:content>2008-03-19 15:08:47</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/BLOCK_NUM[1]
    /text()[1]">
        <xd:content>65385</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/HWMINCR[1]/t
    ext()[1]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DATAOBJ_NUM[1]/text()[1
    ]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COLS[1]/text()[1]">
        <xd:content>2</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/INTCOLS[1]/text()[1]">
        <xd:content>2</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/KERNELCOLS[1]/text()[1]
    ">
        <xd:content>2</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_IT
    EM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58935</xd:content>
      </xd:update-node>
      <xd:append-node xd:node-type="element" xd:parent-xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]">
        <xd:content>
          <COL_LIST_ITEM>
            <OBJ_NUM>58935</OBJ_NUM>
            <COL_NUM>2</COL_NUM>
            <INTCOL_NUM>2</INTCOL_NUM>
            <SEGCOL_NUM>2</SEGCOL_NUM>
            <PROPERTY>0</PROPERTY>
            <NAME>EXTRA</NAME>
            <TYPE_NUM>1</TYPE_NUM>
            <LENGTH>50</LENGTH>
            <NOT_NULL>0</NOT_NULL>
            <CHARSETID>873</CHARSETID>
            <CHARSETFORM>1</CHARSETFORM>
            <BASE_INTCOL_NUM>2</BASE_INTCOL_NUM>
            <BASE_COL_TYPE>0</BASE_COL_TYPE>
            <SPARE1>0</SPARE1>
            <SPARE2>0</SPARE2>
            <SPARE3>50</SPARE3>
          </COL_LIST_ITEM>
        </xd:content>
      </xd:append-node>
    </xd:xdiff>
    <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdif
    f.xsd" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/OBJ_NUM[1
    ]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/DATAOBJ_N
    UM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/NAME[1]/t
    ext()[1]">
        <xd:content>A</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/CTIME[1]/
    text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/MTIME[1]/
    text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/SCHEMA_OBJ[1]/STIME[1]/
    text()[1]">
        <xd:content>2008-03-19 11:16:45</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/BLOCK_NUM[1]
    /text()[1]">
        <xd:content>65369</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/STORAGE[1]/HWMINCR[1]/t
    ext()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/DATAOBJ_NUM[1]/text()[1
    ]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COLS[1]/text()[1]">
        <xd:content>1</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/INTCOLS[1]/text()[1]">
        <xd:content>1</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/KERNELCOLS[1]/text()[1]
    ">
        <xd:content>1</xd:content>
      </xd:update-node>
      <xd:update-node xd:node-type="text" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST_IT
    EM[1]/OBJ_NUM[1]/text()[1]">
        <xd:content>58932</xd:content>
      </xd:update-node>
      <xd:delete-node xd:node-type="element" xd:xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]/COL_LIST
    _ITEM[2]"/>
    </xd:xdiff>
    SQL> col LENGTH for a10
    SQL> WITH tabxml AS                                                                        
      2   ( select XMLCONCAT(XMLDIFF(
      3                            xmltype(dbms_metadata.get_xml('TABLE','A')),
      4                            xmltype(dbms_metadata.get_xml('TABLE','C'))
      5                           ),
      6                                    XMLDIFF(
      7                            xmltype(dbms_metadata.get_xml('TABLE','C')),
      8                            xmltype(dbms_metadata.get_xml('TABLE','A'))
      9                           ) ) xmlset
    10    from DUAL)                                                                   
    11  SELECT extract(v.append_name,'//@xd:parent-xpath','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"')             as "NAME"
    12  ,      extract(v.append_value,'//COL_LIST_ITEM/NAME/text()','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"')   as "VALUE"
    13  ,      extract(v.append_value,'//COL_LIST_ITEM/LENGTH/text()','xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd"') as "LENGTH"
    14  FROM   tabxml                                                                         
    15  ,      XMLTABLE                                                                       
    16         (XMLNAMESPACES ('http://xmlns.oracle.com/xdb/xdiff.xsd' AS "xd")               
    17          ,'/xd:xdiff/xd:append-node'                                                                         
    18           PASSING  xmlset                                                               
    19           COLUMNS  append_name  xmltype PATH '/xd:append-node[@xd:parent-xpath="/ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]"]'
    20           ,        append_value xmltype PATH '/xd:append-node/xd:content'                      
    21         ) v       
    22  WHERE  v.append_name  is not null                                                                         
    23  ;                                                                                     
    NAME                                                         VALUE                LENGTH
    /ROWSET[1]/ROW[1]/TABLE_T[1]/COL_LIST[1]                     EXTRA                50
    SQL> drop procedure proc_01;
    Procedure dropped.
    SQL>
    SQL> create or replace procedure proc_01
      2  as
      3  begin
      4    null;
      5  end;
      6  /
    Procedure created.
    SQL>
    SQL> drop procedure proc_02;
    Procedure dropped.
    SQL>
    SQL> create or replace procedure proc_02
      2  as
      3  begin
      4    NULL;
      5  -- this is extra
      6  end;
      7  /
    Procedure created.
    SQL> select dbms_metadata.get_ddl('PROCEDURE','PROC_01') from dual;
    DBMS_METADATA.GET_DDL('PROCEDURE','PROC_01')
      CREATE OR REPLACE PROCEDURE "SYSTEM"."PROC_01"
    as
    begin
      null;
    end;
    SQL>  select dbms_metadata.get_ddl('PROCEDURE','PROC_02') from dual;
    DBMS_METADATA.GET_DDL('PROCEDURE','PROC_02')
      CREATE OR REPLACE PROCEDURE "SYSTEM"."PROC_02"
    as
    begin
      NULL;
    -- this is extra
    end;
    SQL> select dbms_metadata.get_xml('PROCEDURE','PROC_01') from dual;
    DBMS_METADATA.GET_XML('PROCEDURE','PROC_01')
    <?xml version="1.0"?><ROWSET><ROW>
      <PROCEDURE_T>
    <VERS_MAJOR>1</VERS_MAJOR>
    <VERS_MINOR>1 </VERS_MINOR>
    <OBJ_NUM>58937</OBJ_NUM>
    <TYPE_NUM>7</TYPE_NUM>
    <SCHEMA_OBJ>
      <OBJ_NUM>58937</OBJ_NUM>
      <OWNER_NUM>5</OWNER_NUM>
      <OWNER_NAME>SYSTEM</OWNER_NAME>
      <NAME>PROC_01</NAME>
      <NAMESPACE>1</NAMESPACE>
      <TYPE_NUM>7</TYPE_NUM>
      <TYPE_NAME>PROCEDURE</TYPE_NAME>
      <CTIME>2008-03-19 16:39:34</CTIME>
      <MTIME>2008-03-19 16:39:34</MTIME>
      <STIME>2008-03-19 16:39:34</STIME>
      <STATUS>1</STATUS>
      <FLAGS>0</FLAGS>
      <SPARE1>6</SPARE1>
      <SPARE2>65535</SPARE2>
      <SPARE3>5</SPARE3>
    </SCHEMA_OBJ>
    <SOURCE_LINES>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58937</OBJ_NUM>
       <LINE>1</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>18</POST_NAME_OFF>
       <POST_KEYW>11</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>procedure proc_01
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58937</OBJ_NUM>
       <LINE>2</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>as
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58937</OBJ_NUM>
       <LINE>3</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>begin
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58937</OBJ_NUM>
       <LINE>4</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>  null;
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58937</OBJ_NUM>
       <LINE>5</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>end;</SOURCE>
      </SOURCE_LINES_ITEM>
    </SOURCE_LINES>
    </PROCEDURE_T>
    </ROW></ROWSET>
    SQL> select dbms_metadata.get_xml('PROCEDURE','PROC_02') from dual;
    DBMS_METADATA.GET_XML('PROCEDURE','PROC_02')
    <?xml version="1.0"?><ROWSET><ROW>
      <PROCEDURE_T>
    <VERS_MAJOR>1</VERS_MAJOR>
    <VERS_MINOR>1 </VERS_MINOR>
    <OBJ_NUM>58938</OBJ_NUM>
    <TYPE_NUM>7</TYPE_NUM>
    <SCHEMA_OBJ>
      <OBJ_NUM>58938</OBJ_NUM>
      <OWNER_NUM>5</OWNER_NUM>
      <OWNER_NAME>SYSTEM</OWNER_NAME>
      <NAME>PROC_02</NAME>
      <NAMESPACE>1</NAMESPACE>
      <TYPE_NUM>7</TYPE_NUM>
      <TYPE_NAME>PROCEDURE</TYPE_NAME>
      <CTIME>2008-03-19 16:39:34</CTIME>
      <MTIME>2008-03-19 16:39:34</MTIME>
      <STIME>2008-03-19 16:39:34</STIME>
      <STATUS>1</STATUS>
      <FLAGS>0</FLAGS>
      <SPARE1>6</SPARE1>
      <SPARE2>65535</SPARE2>
      <SPARE3>5</SPARE3>
    </SCHEMA_OBJ>
    <SOURCE_LINES>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58938</OBJ_NUM>
       <LINE>1</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>18</POST_NAME_OFF>
       <POST_KEYW>11</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>procedure proc_02
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58938</OBJ_NUM>
       <LINE>2</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>as
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58938</OBJ_NUM>
       <LINE>3</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0</POST_KEYW>
       <PRE_NAME_LEN>0</PRE_NAME_LEN>
       <SOURCE>begin
    </SOURCE>
      </SOURCE_LINES_ITEM>
      <SOURCE_LINES_ITEM>
       <OBJ_NUM>58938</OBJ_NUM>
       <LINE>4</LINE>
       <PRE_NAME>0</PRE_NAME>
       <POST_NAME_OFF>0</POST_NAME_OFF>
       <POST_KEYW>0<

    Hi ,
    Document link :http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c04_settings.htm#CSMSP463
    This gives details and sample for the configuration of JDBC storage with WCC .
    Thanks,
    Srinath

  • How to make the text fields as mandatory (in 'notes and attachment' tab)?

    Hi,
    We have defined some Fixed Values for texts under IMG>SRM>SRM Server>Cross Application Basic Settings>Text Schema>Define Fixed Values for Texts, for a certain transaction type of RFx responses for a text schema.
    Because of this, the bidder can choose one of these fixed values for texts. This is perfectly working fine.
    Now the question is, we want to make the texts fields as mandatory. i.e. The bidder should not be able to submit the responses if certain texts are blank.
    Is there be any BadI for this?
    GH

    You can use BBP_DOC_CHECK_Badi for this field validation using a filter value RFx/Bid (I ont remember exact word).
    Regards,
    Jagadish.

  • How to Make the Cost Center filed Mandatory ?

    While entring the Doc in FI  for Expense A/c, How to Make the Cost Center filed Mandatory?

    Hi,
    Got to field status groups and select cost center field as required field.
    Refer to this documentation
    http://www.sap-basis-abap.com/sapfi012.htm
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

Maybe you are looking for

  • How do I change the default save location

    I want to be able to save the projects in a different folder. How do I change the setting so that it saves on a connected Firewire drive?

  • Spry tooltip works in IE but not Firefox

    Hi, I don't understand or  can't figure out what I have done wrong. I have created a tooltip for  the last product  (4 inch diameter Vortex Water Revitalizer  in  copper (special order)) on the page: http://www.alivewater.net/order.htm It  works in I

  • Get current file of Photoshop.

    All I want to do is from with in photoshop (the user applescript folder) is run this script but rather than select a file, use the open file on photoshop and process (there maybe others open so it would need to get the current document and file name)

  • Use of ODS in LO

    hi alll what is the use of ODS in Lo extraction if use update method as Unserialised V3 update

  • JDBC Drivers to access from Oracle on Unix environment

    hi, Iam able to run my java application to access the data from the Oracle (8.1.7)using JDBC-ODBC bridge drivers on my Windows environment,but when i tried to execute the same program on Unix(I used same DSN)enivronmentit is giving an 'SQLException:N