Set database in 10g Express

Hi everybody,
I'm a new user and I am having some issues getting a new database set up according to the instructions that I have been given. I need to set up a database, but I am unable to find the DBCA. Can anybody help?
Thanks

Hi,
What do you mean by "set up a database"? Oracle XE database was designed to automatically be configured at installation. There is no DBCA utility in Oracle XE.
Cheers
Legatti

Similar Messages

  • Creating database oracle 10g express edition

    1. can we create more than one database in oracle 10g express edition?
    2. can we rename database name default "XE" in Oracle 10g express edition?

    >
    1. can we create more than one database in oracle 10g express edition?
    >
    No you cannot.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
    >
    3.2 Oracle Database XE Installation and Execution Restrictions
    <li>On a single computer, only one installation of the Oracle Database XE software can be performed.</li>
    <li>In addition, users can run only one instance of the Oracle Database XE database on each individual computer.</li>
    To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
    >
    >
    2. can we rename database name default "XE" in Oracle 10g express edition?
    >
    Yes you can. Please see the link below for details.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:963124000346653522
    XE questions are best answered here {forum:id=251}
    Regards,
    Phiri

  • Help imigrating data from 9i database to 10g express edition

    hi all ,
    i am trying to import a *.dmp file from 9i to 10g express edition
    then problem is that i keep getting during import is
    imp-11119
    imp-11113
    ora-12899
    the data being imported is not english , it appears that there is a problem
    with importing the data
    can someone please help me plz

    i am sorry the errors are
    imp-00019
    imp-00003
    ora-12899
    i am using database 10g express universal edition
    in 9i
    select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AR8MSWIN1256
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 9.0.1.1.1
    but in 10g express universal edition
    select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0

  • Connect Oracle Form Builder 10g to Oracle Database 10g Express

    Hi,
    I'm new to Oracle.
    I've installed both form builder and database 10g express.
    I tried to connect form builder to HR sample database in 10g express with the following:
    user name: hr
    password: hr
    database: hr
    but I received message: ora-12154: tns could not resolve the connect identifier specified.
    Can anyone help me on that? Do I need to change the tnsnames.ora?
    If yes, what should I need to change in order to connect to the HR sample?
    Thank you.

    Yes you need to have an entry in the tnsnames.ora file for you database service name or sid. The service name or sid is usually XE unless you changed it when you installed 10g express.

  • How to implement C2 Audit in Oracle 10g Express Edition?

    Hi,
    I am developing a database using 10g Express Edition in which I need to implement c2 audit. I am planning to use triggers for this. Does anyone have a better method to implement audit in Express Edition?
    Thanks.

    I don't know what C2 audit exactly is, but before programming anything read this Security Guide chapters on Database Auditing http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/auditing.htm#i1011984 and http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm#i1014788.
    All this should be available in XE also, except for Fine Grained Auditing, which is in Enterprise Edition only.
    If you are only interested in knowing when, who, did what command, including failed attempts than you don't have to program anything - you just define what activities you want to audit and set AUDIT_TRAIL initialization parameter to start auditing.
    You only need to write triggers if you need to catch column values before/after the change.

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • AUDIT IN Oracle Database 10g Express

    I configured Oracle Database 10g Express R2 for auditing,
    ALTER SYSTEM SET audit_trail=db SCOPE=SPFILE;
    AUDIT SELECT TABLE, UPDATE TABLE;
    but...in dba_audit_trail ,
    ACTION_NAME is always SESSION REC
    but...i think its possible to record specific action like select,update..etc
    thanx

    Yes, regular auditing features are available at Oracle XE. Once you have configured your audit trail, just issue the audit command to start auditing focused areas.
    ~ Madrid

  • How get scott user database schema in oracle 10g express edition

    hi
    plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
    Iam created the user as scott but but i didn't get the table details
    ...plz give me the details correctly.

    You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
    Rem Copyright (c) 1990 by Oracle Corporation
    Rem NAME
    REM    UTLSAMPL.SQL
    Rem  FUNCTION
    Rem  NOTES
    Rem  MODIFIED
    Rem    gdudey       06/28/95 -  Modified for desktop seed database
    Rem    glumpkin   10/21/92 -  Renamed from SQLBLD.SQL
    Rem    blinden   07/27/92 -  Added primary and foreign keys to EMP and DEPT
    Rem    rlim       04/29/91 -          change char to varchar2
    Rem    mmoore       04/08/91 -          use unlimited tablespace priv
    Rem    pritto       04/04/91 -          change SYSDATE to 13-JUL-87
    Rem   Mendels     12/07/90 - bug 30123;add to_date calls so language independent
    Rem
    rem
    rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
    rem
    SET TERMOUT OFF
    SET ECHO OFF
    rem CONGDON    Invoked in RDBMS at build time.     29-DEC-1988
    rem OATES:     Created: 16-Feb-83
    GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
    ALTER USER SCOTT DEFAULT TABLESPACE USERS;
    ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
    CONNECT SCOTT/TIGER
    DROP TABLE DEPT;
    CREATE TABLE DEPT
           (DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
        DNAME VARCHAR2(14) ,
        LOC VARCHAR2(13) ) ;
    DROP TABLE EMP;
    CREATE TABLE EMP
           (EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
        ENAME VARCHAR2(10),
        JOB VARCHAR2(9),
        MGR NUMBER(4),
        HIREDATE DATE,
        SAL NUMBER(7,2),
        COMM NUMBER(7,2),
        DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
    INSERT INTO DEPT VALUES
        (10,'ACCOUNTING','NEW YORK');
    INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
    INSERT INTO DEPT VALUES
        (30,'SALES','CHICAGO');
    INSERT INTO DEPT VALUES
        (40,'OPERATIONS','BOSTON');
    INSERT INTO EMP VALUES
    (7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
    INSERT INTO EMP VALUES
    (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
    INSERT INTO EMP VALUES
    (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
    INSERT INTO EMP VALUES
    (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
    INSERT INTO EMP VALUES
    (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
    INSERT INTO EMP VALUES
    (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
    INSERT INTO EMP VALUES
    (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
    INSERT INTO EMP VALUES
    (7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
    INSERT INTO EMP VALUES
    (7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
    INSERT INTO EMP VALUES
    (7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
    INSERT INTO EMP VALUES
    (7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
    INSERT INTO EMP VALUES
    (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
    INSERT INTO EMP VALUES
    (7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
    INSERT INTO EMP VALUES
    (7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
    DROP TABLE BONUS;
    CREATE TABLE BONUS
        ENAME VARCHAR2(10)    ,
        JOB VARCHAR2(9)  ,
        SAL NUMBER,
        COMM NUMBER
    DROP TABLE SALGRADE;
    CREATE TABLE SALGRADE
          ( GRADE NUMBER,
        LOSAL NUMBER,
        HISAL NUMBER );
    INSERT INTO SALGRADE VALUES (1,700,1200);
    INSERT INTO SALGRADE VALUES (2,1201,1400);
    INSERT INTO SALGRADE VALUES (3,1401,2000);
    INSERT INTO SALGRADE VALUES (4,2001,3000);
    INSERT INTO SALGRADE VALUES (5,3001,9999);
    COMMIT;
    SET TERMOUT ON
    SET ECHO ON

  • Oracle 10g express Edition Database

    We are using oracle 10g express edition with a temporary storage space for a class using SQL. When creating and using the database, the data is being deleted after 1 or 2 days and students are having to start over, creating tables and inserting data. Any suggestions?

    suggestions?Backups?
    Or, as long as the DDLs and DMLs don't take long, rerunning table create and insert SQLs would probably be much faster than setting up the database(s) in archivelog mode and copying datafile/archivelog files or rman backup files someplace that won't get reimaged every other day.

  • Installing Discoverer with Database Version Oracle 10g Express Edition

    Hello,
    Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download.
    Regards,
    Kelly

    Note that the Personal Edition of the database is 'the most powerful' version, in that it contains all features and options of the Enterprise Edition (expect RAC and Enterprise Manager packs)
    As such, the Personal Edition, at a mere USD$400-500 is one of the most cost effective for-fee products that Oracle has in it's inventory. It is targeted at the developer. And it comes with the complete set of Sample Data, whereas XE has a very limited subset (since it does not support all functionality).
    Express Edition is indeed free, but it is not supported, and can not be patched. OTOH it does have a lighter footprint.
    Again, I am not sure whether Disco 11g is compatible with Express Edition. (It's on my schedule for December ...)

  • Problem connecting developer 6i with database 10g express edition

    i have installed developer 6i on windows xp
    then installed database 10g express edition in different folders
    i am able to connect to the database 10g from the sql command line
    but i cannot connect from the form builder in 6i
    as soon as i try to connect the form builder shuts down
    i have copied tnsnames.ora from the 10g to the 6i and it doesn't connect
    does anyone know why this is happening ?
    please help me solve this issue ???

    then installed database 10g express edition in different foldersWhich version ? Universal or Western European ?
    Universal version uses AL32UTF8 character set and Forms 6i does not work with it.

  • Unable to connect to the 10g Express edition database in oracle forms

    hi,
    i have installed Oracle Database 10g Express Edition and oracle 10g developer suite. i need to work on oracle forms by connecting to the database of the 10g express edition but unable to do so as i am not aware of the database name or SID.
    can any one tell me how to connect to the above database in oracle forms by specifying username, password and database name ?
    Thanks,
    Viddu

    specifying username, passwordSet up your database user, easy way is to grant them the resource role (*strongly* suggest not using sys nor system for user data) here's one command line sqlplus method:
    $ sqlplus /nolog
    SQL> connect system -- or connect /as sysdba; if system credential is lost/forgotten
    SQL> create user username identified by userpasswd default tablespace <tablespace> temporary tablespace <temp tablespace>;
    SQL> grant connect, resource to username;
    SQL> exit;
    > the database name or SID
    Its XE "out of the box", with a servicename is XE as well, using the default port 1521 on the host. The install should also set up a tns alias named, oddly enough, XE, with those connection details from the install. It comes with a USERS data tablespace, and TEMP temporary tablespace.
    So after the user is created, i.e. with sqlplus:
    SQL> connect username/passwd
    or if your session is not on the host where the database is running, with a tns alias pointing to the XE install host in place:
    SQL> connect username/passwd@xe
    From a different client machine you will need a tnsnames.ora entry defining an alias, it could be any name you would prefer to use as long as the entry points the the database host and port with the correct ORACLE_SID or the database service name.
    And don't forget to glance over the documentation, it is thorough and helpful as well http://www.oracle.com/pls/xe102/homepage

  • I have Installed Oracle Database 10g Express Edition so i have Problem.....

    Hello Friends
    I have Installed Oracle Database 10g Express Edition in "Ubuntu Linux" but i have Following Problems:
    1.) After i installed Oracle Database 10g Express Edition i gone to
    "Application" -> "Oracle Database 10g Express Edition" -> "Run SQL Command Line"
    SQL Window has been opened there i have typed "SELECT * FROM tab;" here i got Warning Messg of
    "SP2-0640: Not connected"
    2.) From There i have Again gone to
    "Application" -> "Oracle Database 10g Express Edition" -> "Start Database"
    i got Warning Messg of "Operation Failed. venu is not a Member of DBA Group"
    3.) Finally i want Solution For "How to get Connected in "Oracle Database 10g Express Edition"
    Please Post the Answer As Soon As Possible ...
    From Venu(INDIA)

    Was the oracle-xe configure completed successfully?
    Are the pmon and listener processes running ... set your environment and connect via sqlplus if so. If no processes, the instance needs a startup.
    $ ps -ef |egrep pmon
    oracle ... ora_pmon_XE
    $ ps -ef |egrep lsnr   # can also check the listener status, see below
    oracle ... /usr/.../tnslsnr ...
    $ lsnrctl status
    Endpoints Summary ...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname>)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=http) ... (PORT=8080)))
    ...In the ORACLE_HOME/bin directory there is a shell script you can source to set up your environment variables for connecting to the database. The full path to the .sh should be revealed by the tnslsnr process, /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
    $ /usr/.../oracle_env.sh
    $ sqlplus /nolog
    SQL> connect system
    Password: ...
    Connected.
    SQL> select status from v$instance;
    STATUS
    OPENThe oracle user created by the configure won't have a known password set. Set it and switch user to the oracle login. If you don't want to muck about with the oracle user, at least add your user to the dba group so that you can connect with the sysdba privilege when needed.
    Edited by: clcarter on Feb 22, 2011 7:06 AM

  • Can I use oracle client 10g express to work on oracle 11g database

    I have installed an oracle DB 11g, I also installed oracle client 10g express edition to create users and tables. I noticed that the users I created can't connect to db with error message "Error java.sql.SQLException: ORA-01017: invalid username/password; logon denied" and tables I created can't access from my program. I get error message "Error java.sql.SQLException: ORA-00942: table or view does not exist". I start to suspect that client 10g express edition can't use with oracle 11g. Please help.
    any suggestion is appreciated.
    Thanks,
    -- Allen --

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\temp>cd \oracle\app\oracle\product\10.2.0\server\BIN
    C:\oracle\app\oracle\product\10.2.0\server\BIN>
    C:\oracle\app\oracle\product\10.2.0\server\BIN>cd \temp
    C:\Temp>set ORACLE_HOME=C:\oracle\app\oracle\product\10.2.0\server
    C:\Temp>set ORACLE_SID=XE
    C:\Temp>set PATH=%ORACLE_HOME%\bin;%PATH%
    C:\Temp>type C:\oracle\app\oracle\product\10.2.0\server\NETWORK\ADMIN\tnsnames.o
    ra
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    TEST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TEST)
    ORA11B =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = LAB2)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ORA11B.example.com)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    C:\Temp>sqlplus system/oracle@ora11b
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 3 18:26:14 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - ProductionWith the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Pr
    oduction
    With the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    C:\Temp>

  • Oracle Database 10g Express Edition and xmlelement

    Hi
    when i tried to execute the following Sql command on a Oracle Database 10g Express Edition
    select level,xmlelement(evalname(desc), value1)
    from hr.xml_local
    connect by prior id = id - 1 start with level = 1
    i got this error:
    ORA-19039: The keyword EVALNAME is reserved for future use as a builtin function.
    is there a workaround to avoid this?
    MDK.

    mdrake wrote:
    Catch-22.. The other way of doing this easily is XQuery, but since in 10.2.0.1.0 XQuery had a dependancy on Java, and Java is not supported in XE we are back to square 1.
    The only other ways are (a) string manipulation - which I refuse to discuss, or (b) DOM-APIOr Oracle Support providing the person with the relevant "alter session set events ..." statement to switch on that feature in 10.2.0.1 (as shown in the SQL and PL/SQL forum thread). Obviously as it's from Oracle support, it can't be supplied on the forums.
    ;)

Maybe you are looking for