Virtual column in oracle 11g ???

HI Gurus,
I m really intrested in this new feature in oracle 11g called "Virtual column" . ....can anyone give me a very good example of code for virtual column???...i didnt find the good example for virtual column in online...
can we update or insert data into the virtual column ??
Thank you !!

Hi,
For the last one, no.
See http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-schemamanagement.html
regards
Peter

Similar Messages

  • Storing more than 2000 characters in a varchar2 column in Oracle 11g?

    We have a table in Oracle 11g with a varchar2 column. We use a proprietary programming language where this column is defined as string. Maximum we can store 2000 characters (4000 bytes) in this column. Now the requirement is such that the column needs to store more than 2000 characters. The DBAs don't like BLOB, CLOB or LONG datatypes for maintenance reasons.
    There are 2 solutions I can think of -
    1. Remove this column from the original table and have a separate table for this column and then store each character in a row, in order to get more than 2000 characters. This table will be joined with the original table for queries.
    2. If maximum I need is 8000 characters, can I just add 3 more columns so that I will have 4 columns with 2000 char each to get 8000 chars. So when the first column is full, values would be spilled over to the next column and so on.
    Which one is a better and easier approach? Please suggest.

    Visu - Some people also do not like to use LOBs because of difficulty in reclaiming space and ever increasing LOB segments. Some of these problems were caused by Oracle bugs (eg, Bug 2944866 Free space in LOB table / tablespace not reused with ASSM, Bug 3019979 Space may not be reused efficiently in a LOB segment) - albeit in 9.2. I've seen a few bug reports for similar things in 10.2 (don't have the references). Still, if there is a workaround/patch is this reason enough to steer the application development into a new direction?

  • BUG for sort column with Oracle 11g and APEX 3.2

    I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear
    Report error :
    ORA-00910: specified length too long for its datatype.
    But in an other environement in Oracle 10g and apex 3.2, with the same data. I have no BUG.
    Somebody have an idea for a possible solution to this problem???

    Again, I may just be wasting your time...but if I have XDB problems...especially with the password, I do the following:
    1. Change your working directory to $ORACLE_HOME/apex.
    2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.
    3. Run apxconf.sql
    > @apxconf
    4. When prompted, enter a password for the Oracle Application Express Admin account.
    5. When prompted, enter the port for the Oracle XML DB HTTP server. (default port being, of course,8080).
    6. Unlock the ANONYMOUS account
    > ALTER USER ANONYMOUS ACCOUNT UNLOCK;
    7. If needed, I do the SETHTTPPORT command mentioned before...
    Since I'm using the Oracle 11g, with embedded PL/SQL server, I have no idea if this is the same for 10g us OHS?
    Hope that helps!
    KSL.

  • How to migrate data fSQL server 2005 Tables with image column To ORACLE 11g

    Hi ....
    I am in the middle of migrating our database from sqlserver 2005 version to ORACLE 11g instance, and i'm facing a problem when trying to load data into one of the oracle table which has blob column and some more. The data file was extracted from sql server 2005 table which has image column and some more. All other columns are sinking with the migration as expected but the image column is not getting loaded into oralce blob.
    I tried loading data using sqlloader.
    Is there any other way to migrate data directly between these two versions of database?. Pls help...
    Edited by: user13310523 on 21-Jun-2010 23:48

    Welcome to the forum,
    Hi,
    To link Oracle with SQL Server follow this steps:
    1-Install Oracle ODBC drivers on the server (your local Oracle database) that will access the remote SQL Server database using the database link.
    2. Setup the ODBC connection on the local Oracle database using the Windows ODBC Data Source Administrator
    3. Test the ODBC drivers to ensure that connectivity is made to the SQL Server database.
    4. Ensure that your global_names parameter is set to False.
    5. Configure the Oracle Heterogeneous services by creating an initodbc.ora file within the Oracle database.
    7. Modify the Listener.ora file.
    SID_NAME is the DSN for the remote database.
    ORACLE_HOME is the actual Oracle home file path.
    PROGRAM tells Oracle to use heterogeneous services.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=Cas30C) -- Enter the DSN on this line
    (ORACLE_HOME = c:\oracle10gdb) -- Enter your Oracle home on this line
    (PROGRAM = hsodbc) ) )
    8. Modify the Tnsnames.ora file. This is the Oracle database installation accessed by the users to connect to the ODBC drivers
    (DESCRIPTION=
    (ADDRESS_LIST=
    (Address=(PROTOCOL=TCP)
    (HOST=
    -- (Server x)
    (PORT=1521))) -- Enter the port on which the server x Oracle installation
    -- is listening
    (CONNECT_DATA=(SID=Cas30c)) - Enter the DSN name
    (HS=OK) -- Enter this value. It tells Oracle to use hetergeneous services
    9. Reload the listener on local Oracle database
    10. Create a database link on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.
    11. Run a SQL Server Select statement from the Oracle installation using the database link
    Thanks
    BelMan :)

  • CREATING VIRTUAL COLUMN IN OWB11g

    How can i create virtual columns in ORACLE 11g using Warehouse Builder. OWB11g does not seem to have this option available. The only other option seems to be to alter the table using sql.

    Thanks, I know how is it done. using the data object editor. I can't see anywhere in the data object editor where the virtual column creation could go. I have tried using the default value and this is the query it generates below.
    CREATE TABLE "TABLE_1"
    "TEST" VARCHAR2(7),
    "TEST2" VARCHAR2(7) default GENERATED ALWAYS AS (1)
    this is the error I receive
    Error
    ORA-00984: column not allowed here
    obviously the default is the problem. Is there anyway i could do this using the data object editor

  • Help Apply Patch to Oracle 11g

    Hello!
    Currently I have a single stand alone server (RHEL 5.8 Linux) running Oracle 11.2.0.1. I'm being told that the latest patch level is 11.2.0.3. I would like to get my current production database patched / updated to the latest version so I was told to do a "Out-of-place" manual upgrade from 11.2.0.1 to 11.2.0.3. In generic online tutorials and documentation, here is what I did. Currently my $ORACLE_HOME on Linux is:
    echo $ORACLE_HOME
    /oracle/u01/app/oracle/product/11.1.0/db_1
    I've downloaded the 1st two zip files for 11.2.0.3. I'm told that this will basically be a fresh / new installation of Oracle 11.2.0.3 on my server but installing in a new directlry structure or $ORACLE_HOME.
    So I create the following new $ORACLE_HOME path on my existing production server:
    /oracle/u01/app/oracle/product/11.2.0/db_1
    Here I extracted the 1st two .ZIP files for 11.2.0.3. Once the two files were successfully extracted, I now had a sub-sirectory called $ORACLE_HOME/database and in this new 'database' folder I see the 'runInstaller' script to kick off the OUI (Oracle Universal Installer).
    I walked through the failrly straight forward installer process and it said it completed successfully but now I'm confused on how or what methods do I need to take to migrate the data from my current $ORACLE_HOME to the newly created one. I know virtually nothing about Oracle 11g database systems but I'm eager to learn. I've used Google for most of my help with the exeption of some other forums. Can someone please help me with the correct / best way to finish the upgrade? So far I just installed Oracle over again on the same server just under a new folder path. The database listener and everything is still pointing to the 11.2.0.1 installation. I'm guessing I either have to use RMAN backupset from the 11.2.0.1 and recover it to the 11.2.0.3 install or perhaps there's some kind of migration step(s) / process.
    Sorry if this seems very basic or well documented for most but I couldn't find any info and or perhaps the lingo was over my head. I appreciate any supprt and or info in helping me. If you can, please note that this is my production server and it's an Enterprise stand-alone database server so if I need to take the database down or offline, please be specific in the steps needed as I have NEVER done anything like this before. I do have daily backups that I run manually using RMAN but I'd like to avoid using those at all cost unless it's required.
    Thank you in advance!

    Hi Carl,
    If you want to have your current database 11.2.0.1 to be upgraded in out of place.
    first being safe is better take a backup of the current database.
    As you have installed software 11.2.0.3 in out of place from previous home directory,
    Now using DBUA you can upgrade your database.
    NONUDAY

  • Virtual columns support in oracle 11g

    Hi
    I created a table with virtual columns using SQL as the APEX GUI didn't support it and I couldn't see the data dictionary of the table in object browser.
    Some strange error about my user not having any privileges on the current scheme was displayed also when I tried to view the data. Dropped the table and all is normal again now, was looking forward to using the new 11g feature.
    When will virtual columns be supported by APEX?
    Regards
    Adam

    Adam,
    >> and I couldn't see the data dictionary of the table in object browser.
    That's not my experience. I created a table in SQL Commands using:
    CREATE TABLE employees (
      id          NUMBER,
      first_name  VARCHAR2(10),
      last_name   VARCHAR2(10),
      salary      NUMBER(9,2),
      comm1       NUMBER(3),
      comm2       NUMBER(3),
      salary1     AS (ROUND(salary*(1+comm1/100),2)),
      salary2     NUMBER GENERATED ALWAYS AS (ROUND(salary*(1+comm2/100),2)) VIRTUAL,
      CONSTRAINT employees_pk PRIMARY KEY (id)
    );I was then able to browse the definition and view the data in Object Browser just fine.
    >> Some strange error about my user not having any privileges on the current scheme was displayed also when I tried to view the data.
    I couldn't reproduce this problem.
    >> When will virtual columns be supported by APEX?
    I created an application with an Interactive Report on the above table. On the resultant form, I had to change the item type of the virtual columns to Display Only. After that, DML on the form worked just great.
    Joel

  • Virtual column in 11g

    Hi all,
            I m migrating from 10g to 11g.I have doubt on virtual column.whether function based index and virtual column are same?
    if no means what difference between then.What are difference in their performance??

    No, they aren't the same.
    if no means what difference between then
    Function based index is a "INDEX" whereas virtual column is a "COLUMN". Both are two different Database objects.
    What are difference in their performance??
    You can't compare peformance of a Column with that of a Index.
    Virtual columns appear to be normal table columns, but their values are derived rather than being stored on disc. E.g.,
    CREATE TABLE employees (
      id          NUMBER,
      first_name  VARCHAR2(10),
      last_name   VARCHAR2(10),
      salary      NUMBER(9,2),
      comm1       NUMBER(3),
      comm2       NUMBER(3),
      salary1     AS (ROUND(salary*(1+comm1/100),2)),
      salary2     NUMBER GENERATED ALWAYS AS (ROUND(salary*(1+comm2/100),2)) VIRTUAL, -- This is
    your virtual column
      CONSTRAINT employees_pk PRIMARY KEY (id)
    For more info, you can refer to Oracle Documentation and below is additional link from asktom
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:676611400346196844
    Ishan

  • How to make column range based on a column in Oracle BI 11g

    Hello everyone!
    I want to know, how to make column range from a column in oracle bi 11g.
    for example!
    I have a column amounts and I want to build on this with other values of quantity, other column range 1-9,10-49,50-99,100-249, 249 o more.
    regards!
    when I try to make the range I have error.
    Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT CASE WHEN "CUBO_DEEE_TAB"."CANTIDAD" BETWEEN 1 AND 9 THEN 1 a 9 ELSE "CUBO_DEEE_TAB"."CANTIDAD" END FROM "DM_DEEE"
    Edited by: 964157 on 09-oct-2012 11:50

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • Oracle 11g RAC on Windows 2008 R2 VMware EXS 3.5 virtual machines

    Hi,
    We are planning to Install Oracle 11g R2 RAC on two VMware EXS 3.5 Windows 2008 R2 servers.
    Having trouble while assigning the storage to the servers, the Raw Device Mapping feature in the VMware is greyed out and we cannot assign the disks to the Virtual servers, the disks are allocated to the Vmware Host machine from the SAN (HP EVA).
    Please guide me the best approach for the RAC configuration on VMware EXS 3.5 Win 2008 R2 Guest servers.
    any help will be highly appreceiated.
    Thanks.

    Hi,
    Is this implementation to production environment?
    Be aware:
    Is Oracle RAC on VMware supported? No, we do not support Oracle Software including Oracle RAC on VMWare.
    Aside from the support restrictions for the database on VMWare outlined in Metalink Note 249212.1, there are technical restrictions that prevent the certification of Oracle RAC in a VMWare environment.
    *RAC: Frequently Asked Questions [ID 220970.1]*
    Having trouble while assigning the storage to the servers, the Raw Device Mapping feature in the VMware is greyed out and we cannot assign the disks to the Virtual servers, the disks are allocated to the Vmware Host machine from the SAN (HP EVA).Check if below can help you.
    http://vmzare.wordpress.com/2007/02/19/vmware-raw-device-mappingrdm/
    Regards,
    Levi Pereira

  • Oracle 11g bug for column ambigously defined error

    I have below format query running on Oracle 10g without any issues
    select col1
    from (select col1
    from (select 'A' col1
    from dual)
    ) v1
    inner join (select col1 as col2
    from (select 'A' col1
    from dual)
    ) v2
    on (v1.col1=v2.col2);
    When I run the exact same query on Oracle 11g I get column ambiguously defined error. But when I change the query to as below it works fine on 11g
    select v1.col1
    from (select col1
    from (select 'A' col1
    from dual)
    ) v1
    inner join (select col1 as col2
    from (select 'A' col1
    from dual)
    ) v2
    on (v1.col1=v2.col2);
    Is it because 11g ignores column alias in my inner queries.

    I'd tend to agree that this seems to be a bug in 11.1.0.7 (at least, that's the version I'm running it in)
    It's not even that Oracle doesn't know about the column aliases, you can remove the aliases in the ON without a problem, i.e.
    SELECT v1.col1
       FROM
      (SELECT col1 FROM
        (SELECT 'A' col1 FROM dual
      ) v1
    INNER JOIN
      (SELECT col1 AS col2 FROM
        (SELECT 'A' col1 FROM dual
      ) v2
         ON (col1=col2);works fine. Using the old join syntax also seems to work fine
    SELECT col1
       FROM
      (SELECT col1 FROM
        (SELECT 'A' col1 FROM dual
      ) v1,
      (SELECT col1 AS col2 FROM
        (SELECT 'A' col1 FROM dual
      ) v2
      WHERE (col1=col2);So it appears that something in the SQL 99 parser is broken. Have you logged a bug in Metalink?
    Justin

  • Failed to get Column's data type in Oracle 11g

    Hi,
    I made an ADO connection(Oracle provider) to Oracle 11g, and use ADO API: OpenSchema(adSchemaColumns) to fetch the columns' info. But I found I couldn't get the column's data type if it's type is timestamp or timestampwithtimezone in database. What I got is 'adIUnknown' whose number is 13.
    I test with another column whose data type is 'date', and everything is ok. I get the data type 'adDBTimeStamp'.
    This issue occurs on Oracle 10g, too.
    Can anyone offer some help? Thanks a lot!

    See
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    http://download.oracle.com/docs/cd/B28359_01/win.111/b28431/using.htm#CHDJJDAJ

  • Oracle 11g 64 bit - "Value too large for column" when setting Varchar2

    Hello guys,
    I have a machine running Oracle 11g - 64bits. And I have a table that contains a VARCHAR2(2000) field.
    When I try to set the value of this field to a string that contains double byte characters, I get this error:
    ORA-12899: value too large for column "QAPBG1220_11"."MYTABLE"."MYFIELD" (actual: 2433, maximum: 2000).
    Although the value I'm setting is only 811 characters (€ sign).
    The weird thing is that when I try to run the same query on another PC with Oracle 11g, 32 bits, It runs normally and the values are updated!!
    Anyone has any idea about this? It's driving me crazy
    Thanks in advance
    Zahraa

    create table MYTABLE
    MYTABLEID NUMBER(10) not null,
    MYFIELD VARCHAR2(2000)
    alter table MYTABLE
    add constraint PK_MYTABLE primary key (MYTABLEID);
    INSERT INTO MYTABLE (Mytableid, Myfield) VALUES(1, '€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€fds€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€')
    COMMIT;
    On the 32 bit, this works fine. I get the record with the values 1 and 2000 euro signs.
    On the 64 bits, there is one machine (oracle 11.2.0.1.0) that adds the row, but when I view it, the value shows as "????"
    and another machine (oracle 11.1.0.7.0) that throws an error:
    - "String Literal is too long" : if there are more than 1333 euro characters
    - Value too large for column .... : if there are less than 1333 and more than 666 characters.
    Any ideas?

  • Oracle 11g in Virtual Machine

    Hi Gurus,
    I would like to gather input from you, what is the pro and con, advantages and disadvantages for putting Oracle 11g in Virtual Machine (VMWare, Oracle VM, Virtual Box, etc.)
    and will there be any licensing issue with this.
    Currently we have CPU Based license for our Production and Named User license for the Dev.
    thanks in advance for your time.
    Lie

    If you put Oracle db in VMWare then you have a non-certified configuration, and you could be alone (I mean without Oracle support) if you have a problem than Oracle support cannot reproduce in a certified configuration. I would avoid a non-certified configuration for a production environment.
    So, two choices :
    * go for Oracle VM
    * go without VM at all
    Nicolas.

  • ORA-31061 error while creating XMLType table with virtual column

    I'm not calling it frustration ;)
    but still... what about this one :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
    Table created.Now, on the latest version :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
          passing object_value returning content)
    ERROR at line 7:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-31061: XDB error: dbms_xdbutil_int.get_tablespace_tab
    ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 1002Is there something I should be aware of?
    Right now, I'm just evaluating the version so I can't submit any SR.
    Thanks for anyone trying to reproduce the issue.

    Just tested again on a new installation (64-bit server).
    It works :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL>
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7                 passing object_value returning content)
      8        as number
      9      )
    10    )
    11  );
    Table created
    Now I'll try to see what are the differences between the two installations.
    Thanks Dan and Marco for looking into this.
    Edited by: odie_63 on 2 mai 2012 15:51

Maybe you are looking for

  • Problems with secure PDFs in Preview

    I recently saved and secured a PDF with Adobe Acrobat 9. While the document is secure when I open it with Adobe Acrobat or Reader, there is no security when I open up the same document with Preview... So much for the 256 bit encryption... Has anyone

  • Dynamic String names

    I want to dynamically name strings for the purpose of passing their value back to a jsp, but am not quit sure how to approach this. for (int i = 0; i < products.size(); i++)      MyProducts temp = (MyProducts)products.get(i);      if (temp.getName().

  • Autoplay - - not showing up in iTunes

    Ok so this only recently started happening. This is what happens: I connect my iPod to the USB port The do not disconnect screen comes up If iTunes is already open, it will temporarily freeze up Then, Autoplay comes up, but doesn't do anything but tr

  • SUS roles

    Hi, We are on SRM 7.0 and have setup MM-SUS scenario with XI as the interface. SRM and SUS are on different clients. We are trying to replicate the users(Contact persons) created by the admin person of a company in SUS into SRM also with 'Bidder' rol

  • I am not seeing video on files captured in PPCC and saved as .mov.

    I have captured DV video in PP and it was saved as .mov. When I went to view the file there was no video. I am working on a Mac and have the latest QT installed. Is there a way to save the file in a different way/format?