ORACLE 8I EXPORT의 QUERY OPTION 기능

제품 : ORACLE SERVER
작성날짜 : 2000-09-19
Oracle 8i EXPORT의 Query Option 기능
====================================
Oracle 8i에서는 export 작업 수행 시 Query Option을 이용하여 테이블의
부분적인 추출이 가능하다.
SQL> select empno, ename, job, sal from emp order by job;
EMPNO ENAME JOB SAL
7788 SCOTT ANALYST 3000
7902 FORD ANALYST 3000
9999 홍길동 ANALYST 2000
7369 SMITH CLERK 800
7876 ADAMS CLERK 1100
7934 MILLER CLERK 1300
7900 JAMES CLERK 950
7566 JONES MANAGER 2975
7782 CLARK MANAGER 2450
7698 BLAKE MANAGER 2850
7839 KING PRESIDENT 5000
7499 ALLEN SALESMAN 1600
7654 MARTIN SALESMAN 1250
7844 TURNER SALESMAN 1500
7521 WARD SALESMAN 1250
위와 같이 구성된 EMP 테이블에서 만일 'MANAGER'로 JOB을 가진 사원중 SAL
컬럼이 2500이상인 레코드를 export하고 싶다면, 다음과 같이 수행하면 된다.
% exp scott/tiger tables=emp query=\"where job=\'MANAGER\' and sal\>=2500\"
Export: Release 8.1.5.0.1 - Production on Tue Sep 19 16:14:15 2000
About to export specified tables via Conventional Path ...
. . exporting table EMP 2 rows
exported
Export terminated successfully without warnings.
한글 컬럼에 대해서도 동일한 where 조건에 지정이 가능하다.
% exp scott/tiger tables=emp query=\"where ename like \'홍%\'\"
V8.1.5 버젼에서 제공되는 Query 옵션의 특징:
1. 테이블 레벨의 export 명령어에서만 가능하다.
2. Direct 옵션과 함께 사용될 수 없다.
3. Nested 테이블을 갖는 테이블에는 적용할 수 없다.
4. Partition 테이블에 대한 export에도 적용가능하다.
5. Import 명령에는 적용되지 않는다.

Thanks Guys,
I am still a bit lost though...
It may be simply a matter of me finding Oracle 8i so I can do what I need to do.
Where can I get Orcale 8i from? Does anybody have it? The oracle site only has a version back to 9.2 I queried with a employee from Oracle University here in Australia, and he suggested asking in the forums.
Just so you know what I'm trying to do:
Data Server:
Running Aix with Oracle 7.14... actually could be 7.41 - I'll check today.
This system will not be upgraded to any later version of Orcale, because systems are in place, and core systems at our other sites have to be the same. (my project is a local one)
Web Server:
Running XP profession with IIS and using ASP (active server pages)
Currently running Oracle 10g, and ASP code connects to the local database on this machine via an ODBC connection.
At the moment, I have scripts on the Aix server that dumps data from Oracle 7.x into a .csv file.
Then, I have scripts that copy those csv files to the XP server, and they are imported to the local Oracle 10g database.
To display this data on the website, I use ASP via the odbc connection to query the local database on the XP server.
As said in my previous post, there must be an easier way to do this.
I need a local database on the XP server too, and am thinking the best way is to downgrade to 8i.
Can anybody tell me where I can get 8i to try this out? I have been trying to reasearch this for a while now without luck. Any help would be appreciated, and thanks for those who have replied so far.
-Tom

Similar Messages

  • EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상)

    제품 : ORACLE SERVER
    작성날짜 : 2004-03-17
    EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상)
    ============================================
    PURPOSE
    ============
    oracle 8i에서 export 시 query option에 대한 사용 예
    8i에서 export의 query syntax 를 이용하여 table data의 한 부분만 exporting 이 가능
    - 8i 에서 select 문장의 where 절을 사용하는 것처럼 export 시에 부분적으로 table data 를 받아 낼수 있는 기능을 소개 한다.
    - Direct 옵션은 사용될 수 없다..
    - where 절에 해당하는 export utility는 query parameter 를 사용한다.
    UNIX syntax:
    - Example:
    1.SCOTT.Emp table의 ename 이 JAME과 비슷한 이름의 data 를 export ..
    exp scott/tiger query=\"where ename like \'JAME%\'\" tables=emp file=exp.dmp log=exp.log
    2. employee와 cust table에서 new york 주의 data 만 export ..
    exp scott/tiger query=\"where st=\'NY\'\" tables=(employee,cust) file=exp.dmp log=exp.log
    query 문장에서 UNIX reserved characters( ", ', ,< .. 등) 를 사용하는 경우에는 escape ('\') 을 반드시 사용해야 한다.
    예)query=\"where JOB = \'SALESMAN\' and salary \< 1600\"
    더 중요한 것은 command line에서 export option을 사용할때는 반드시 escape 이 있어야 하나
    parfile을 사용할때는 eacape이 불필요하다.
    예를 보면 .. p라는 이름의 file을 다음과 같이 생성
    tables=emp query="where job='SALESMAN'"
    parfile을 이용해서 export 를 실행해 보면
    [rmtdchp6]/apac/rdbms/64bit/app/oracle/product/9.2.0> exp scott/tiger parfile=p
    Export: Release 9.2.0.4.0 - Production on Wed Mar 17 00:12:34 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses KO16KSC5601 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 4 rows exported
    와 같이 정상 처리 됨을 알수 있다.
    만일 command line에서 위의 내용을 실행하게 되면 다음과 같이 error 를 만난다.
    exp scott/tiger tables=emp query="where job='SALESMAN'"
    LRM-00101: unknown parameter name 'job'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    command line에는 query 내에 single(')나 double quotes(") 를 사용한다면 반드시 double quotes(") 를 사용하여
    query 문을 묶어야 한다.그러나 query 내에서 single ('')나 double quotes(") 를 사용하지 않는다면 single quotes (')을 사용하여
    query 문을 수행할 수도 있다..
    다음 예를 보면..
    1>exp scott/tiger tables=emp query=\'where deptno=20\'
    Export: Release 9.2.0.4.0 - Production on Wed Mar 17 00:22:00 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses KO16KSC5601 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 4 rows exported
    2>exp scott/tiger tables=emp query=\'where job=\'SALESMAN\'\'
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    즉.. 정리를 하자면
    command line에서 query 내에 '," 을사용하지 않는 다면 '나 " 으로 query option을 사용할수 있다
    query=\'where deptno = 20\'
    query=\"where deptno = 20\"
    query=\'where deptno \< 2\'
    (이 경우 single 이나 double quotes 을 둘다 사용할수 있다.)
    parfile을 사용하는 경우에는 다음과 같이 단순하게 사용이 가능하다.
    query='where deptno = 20'
    query="where deptno = 20"
    query='where deptno < 20'
    WINDOWS NT / 2000 와 NETWARE syntax:
    다음의 자료를 참조바란다.
    Example:
    EXP demo/demo tables=emp file=exp1.dmp query="""where deptno>30"""
    double quotes(") 를 둘러 싸는 경우에는 space 가있으면 안된다.
    parfile의 사용은 다음과 같이 하시면 됩니다.
    file=exp66.dmp
    query="where deptno > 20"
    tables=(emp)
    log=log66.txt
    userid=scott/tiger
    Explanation
    Windows NT or Win2000의 경우 command line에서는 3 double quotes 이 필요하고
    'PARFILE 을 사용하는 경우에는 double quotes(") 한번만 필요함
    Reference Documents
    Oracle8i Utilities guide
    Note:91864.1

  • Use of QUERY option in 9iRel2 Export utility

    Hi All,
    Is it possible to use a query option to the export utility of the form below assuming I am exporting a table called test1:
    query="(test1.col1,test1/col2) not in (select test2.col1,test2.col2 from test2)"
    I am not sure if it is allowed to reference another table in the query clause, test2 in the example above....?
    Thanks

    I don't have a 9iR2 environment with me right now but this works on 10gR2. And I have no reason to believe that it would not work in 9iR2.
    SQL> select * from a;
            ID
             1
             2
    SQL> select * from b;
            ID
             2
    SQL> $
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\>exp sysadm/itbagain@qo810 tables=(A) query='where id not in (select id from b)'
    Export: Release 10.2.0.4.0 - Production on Wed Sep 8 14:17:49 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Release 10.2.0.4.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                              A          1 rows exported
    Export terminated successfully without warnings.
    C:\>

  • ORACLE V7.1 PARALLEL QUERY OPTION(PQO) TEST

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    SCOPE
    8~10g Standard Edition 에서는 지원하지 않습니다.
    Subject: Oracle V7.1 PQO 테스트 결과
    1.테스트 장비 : Sequent2000-S750
    512MB M/M, 16GB H/D, 20 CPUs
    2.테스트 S/W : Oracle V7.1.1 Beta (Parallel Query Option)
    3.DB file구성 : 10개의 hard disk를 strapping raw device로 구성
    data tablespace : 1.9 GB
    4.Data Load : 2개의 테이블 사용(5KB , 1MB)
    5.테스트 결과.
    - Sort Merge Join (Default SQL: using 1 CPU) : 6m21s - 6m33s
    * Sort Merge Join (Parallel 20 option: using 20 CPU) : 0m59s
    * Parallel index create (1Mega table) : 1m18s - 1m28s
    - Nested Loop Join (Default SQL: using 1 CPU) : 1m15s - 1m23s
    * Nested Loop Join (Parallel 20 option: using 20 CPU) : 0m02s - 0m03s
    - Execute PL/SQL procedure (Default SQL: using 1 CPU) : 1m54s
    (embeded compiled PL/SQL procedure : user define function)
    * Execute PL/SQL procedure (Parallel option : 20 CPU) : 0m13s
    (embeded compiled PL/SQL procedure : user define function)
    결과적으로 SQL문의 종류에 따라 7배 - 40배 정도의 성능 향상을 보여줌.
    6. 본사에서 recommand한 자료에 의하면 18배 이상의 성능 향상 을 얘기하는데
    이결과는 테스트 장비 구성의 차이라고 할 수 있습니다.
    본사 테스트 장비 : Sequent5000 model, 1GB M/M, Pentium CPU, 20 H/Ds
    cab로서 장비 구성요소 만으로도 2.5배 이상의 성능의 효과가 기대되는 상황.

    Can you try running the following query and see if parallelism is used. I have used table alias "a" and included that in the parallel hint
    select /*+ parallel(a, 8) */
    colA,
    colB
    from abc.mytable a
    where my_date between to_date('01/01/2011','mm/dd/yyyy') and to_date('12/31/2011','mm/dd/yyyy') AND
    CD = '35';
    Thanks

  • Help with export with query option

    I need help with an export with query option.
    I have a script that includes the following
    auddate=`date '+20%y%m%d'`
    file="cal_shrlgpa"$auddate".dmp"
    exp / file=$file tables=shrlgpa query\=" where shrlgpa_pidm in (Select sztahbr_pidm from purdue.sztahbr where sztahbr_to_extract\=\'Y\' and sztahbr_export_status\=\'N\')\"
    echo 'cal export file created:'$file
    when I run the script, I get the following error:
    cal_export_tables.sh[7]: 0403-057 Syntax error at line 7 : `"' is not matched.
    Can somone help me with the query option?

    I made the suggested change:
    exp / file=$file tables=shrlgpa query=" where shrlgpa_pidm in (Select sztahbr_pidm from purdue.sztahbr where sztahbr_to_extract=\'Y\' and sztahbr_export_status=\'N\')"
    and got the following error:
    LRM-00116: syntax error at 'sztahbr_to_extra' following 'where'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    Shannon

  • Export query syntax

    Hi,,
    i want export one table with query option.
    my whrere conditions is where v_Customer_code in ('3658','3640','7463','7134','7195','8318','8181')
    please any one help me what is the syntax to export table..
    i am using 10g databse on hp-ux box.
    Regards,
    Mugu

    If you run exp under Windows, try:
    exp <user>/<password> tables=<your table name> query='where v_Customer_code in ('3658','3640','7463','7134','7195','8318','8181')'where <user> is the Oracle account name of the table you want to export.
    Example:
    C:\>sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 10 13:20:11 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from t;
             X Y
           258 DUAL
           259 DUAL
           311 SYSTEM_PRIVILEGE_MAP
           313 SYSTEM_PRIVILEGE_MAP
           314 TABLE_PRIVILEGE_MAP
           316 TABLE_PRIVILEGE_MAP
           317 STMT_AUDIT_OPTION_MAP
           319 STMT_AUDIT_OPTION_MAP
           605 MAP_OBJECT
           886 RE$NV_LIST
           887 STANDARD
             X Y
           889 DBMS_STANDARD
           890 DBMS_STANDARD
           901 V$MAP_LIBRARY
           903 V$MAP_FILE
           905 V$MAP_FILE_EXTENT
           907 V$MAP_ELEMENT
           909 V$MAP_EXT_ELEMENT
           911 V$MAP_COMP_LIST
           913 V$MAP_SUBELEMENT
    20 rows selected.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    C:\>exp test/test tables=t query='where x in (258,259)'
    Export: Release 10.2.0.1.0 - Production on Fri Sep 10 13:20:33 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8MSWIN1252 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table                              T          2 rows exported
    Export terminated successfully without warnings.
    C:\>

  • (9I) EXPORT의 TABLESPACE OPTION, IMPORT의 STATISTICS OPTION

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    (9I) EXPORT의 TABLESPACE OPTION, IMPORT의 STATISTICS OPTION
    ===========================================================
    PURPOSE
    Oracle 9i에서의 새로운 IMPORT parameter 인 STATISTICS 와
    EXPORT 의 새로운 기능인 TABLESPACE parameter에 관한 설명이다.
    SCOPE
    Export Transportable Tablespace Feature는 8i~10g Standard Edition에서는
    지원하지 않는다.
    Explanation & Example
    1. Oracle 9i에서는 STATISTICS 라는 새로운 Import parameter 값을 제공한다.
    비교 ) Oracle 8i에서는 ANALYZE parameter와 RECALCULATE_STATISTICS
    parameter의 조합으로 사용한다.
    - ALWAYS : 미리 계산된 통계정보가 불안정하든 하지 않든 간에
    상관없이 통계정보를 항상 import. (Default)
    - NONE : 미리 계산된 통계정보를 import하지 않는다.
    - SAFE : 불안정하면 table을 import한후 통계정보를 재계산하고
    그렇지 않으면 미리 계산된 통계정보를 import.
    - RECALCULATE : 미리 계산된 통계정보를 import하는 대신에 import한 후
    table에 대한 통계정보를 재계산.
    여기서 잠깐 통계정보가 불안정하다는 것은 언제를 말하는지를 짚어본다.
    : Export time에 아래와 같은 경우에 미리 계산된 통계정보를 불안정하다
    고 표시한다.
    - Export하는 동안에 row error가 있을 때
    - Client character set 또는 NCHAR character set이 server의
    character set 또는 NCHAR character set과 다를 때
    - Query option을 사용할 때 ( 8i 이상에서 제공하는 새로운
    parameter)
    - 특정 partition 또는 subpartition만이 export될 때
    비교 ) Export 시에 STATISTICS parameter는 estimate, compute, none
    의 세가지 값을 가지며 estimate가 default이다.
    2. Oracle 9i 에서는 특정 tablespace에 있는 table을 export하기 위한
    TABLESPACE라는 새로운 parameter를 제공한다.
    - index가 어느 tablesapce에 속해 있는지의 여부에 상관없이 tablespace
    에 속한 table와 연관된 index는 모두 export된다.
    - TABLESPACE mode로 export을 받기 위해서는 EXP_FULL_DATABASE
    privilege를 가지고 있어야 한다.
    비교 ) 8i에서의 TABLESPACE option은 8i에서의 새로운 기능인
    TRANSPORTABLE TABLESPACE 기능을 사용하는 데 필요한 단지 meta
    data만을 export받는 것에 그친다. TABLESPACE 단위로 data을 받을
    수는 없다.
    9i에서도 믈론 TABLESPACE option은 TRANSPORTABLE TABLESPACE 기
    능을 위해서도 사용이 된다.
    RELATED DOCUMENTS
    <Note:159787.1>
    Oracle 9i New Features for Administrtors.

    Hi
    1)if I use the 3rd option it should gather stats for
    all the objects including indexes. However, when I
    used that option it didn't gather satas for Index. Do
    I need to use cascade=>TRUE option?
    Yes, default is FALSE, so need to force TRUE
    2) I need to backup my current stats and gather new
    stats for entire DB. If I export DATABASE stats will
    it export all stats including index, system?
    Yes
    3) If I collect stats using GATHER_DATABASE_STATS, Do
    I need to explicitly collect other stats for index,
    system etc?
    No

  • Exp & Query option causing EXP-00056 ORA-00904

    Experts,
    Database Version: 9.2.0.4.0
    I'm trying to export with using query option, But having below errors.
    Any suggestions Please.
    exp system/***** tables=ORDERS_TN file=ORDERS_TN.dmp log=ORDERS_TN.log query=\" WHERE ORDERS_ID IN \('A1','A201','A3'\) \"
    Export: Release 9.2.0.4.0 - Production on Wed Feb 1 21:42:02 2012
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                     ORDERS_TN
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "A3": invalid identifier
    Export terminated successfully with warnings.Thanks.

    Hello,
    The preferred way to use the query option is to use it in the parfile, because the query option may have special characters within its values which need to be escaped and every OS has its own way of escaping those characters. So in order to make it portable and easy, create a file parfile and use that in the export command.
    For example create a file myval.txt and put following query in it:
    query="WHERE ORDERS_ID IN ('A1','A201','A3')"
    and then use export command as:
    exp system/***** tables=ORDERS_TN file=ORDERS_TN.dmp log=ORDERS_TN.log parfile=myval.txt
    regards
    Fahd

  • Export query result to csv using Export Wizard

    Been a decade since I last used Oracle and related tools.
    I had to use Oracle server again, I have a query over multiple tables, I am to run a scheduled script that will spit out the query result as a csv file.
    I started with SQL Developer Export wizard, in step "Specify Data", I am at a loss, where to specify the query itself? I see a Name,Schema,Type input, a text area below, Up,UpAll,Down,DownAll buttons etc etc. Where do I specify my query here? Can someone please help?
    Is this the best way to go about to schedule a data export (query to csv) daily?

    To export a user query rather than a whole table, run it in a worksheet and export using the context menu on the result grid. However none can be scheduled.
    Instead you can look at the SPOOL command and schedule it through SQL*Plus. Any questions can go to the iSQL*Plus and/or SQL And PL/SQL forum.
    Have fun,
    K.

  • How to export query results

    How can I export query results from sqlplus on the command line? Are there ways to specify the format such as CSV, TAB, XML, etc?
    I've seen one approach that involves creating a shell script and piping the output to a file:
    #!/bin/sh
    sqlplus user/password <<__EOF__
    set heading off;
    set newpage none;
    select f1, ',', f2, ',', f3 from some_table;
    __EOF__
    Then pipe the output to a file. Is there a simpler solution to this?

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:235814350980

  • Does  oracle 9i support inctype option in exp or not?

    I want to know whether oracle 9i supports inctype option in exp or not......
    if not then how to take a incremental export..........
    Exp userid=DBA/password full=Y inctype=cumulative file=’010399cml.dmp’
    i am getting an error message
    EXP-00042: INCTYPE parameter is obsolete
    although exp command is working even after generating an error........

    EXP-00041 INCTYPE parameter is obsolete
    Cause : Export encountered when parsing the parameter INCTYPE Export options. Incremental Exports are no longer supported.
    Action : Consult the Oracle9i User-Managed Backup and Recovery Guide. Export will attempt to continue.
    This incremental into law has become obsolete, not to be supported.

  • Oracle.xml.sql.query.OracleXMLQuery   GetXML -withDTD

    I'm trying to create a dtd for each table in my schema. I've created a java program that loops through the user_tables and I am then trying to create the DTD with oracle.xml.sql.query.OracleXMLQuery -withDTD. I am able to make it work using the XSU Command Line Utility, but I'm having a hard time trying to find out where the -withDTD flag goes inside my java program. Anyone know how to use the -withDTD option inside of a java program?
    Thanks

    [from XmlRpc-Java]
    As a result, my XML
    is contained in a String instead of an InputStream.
    It is possible to convert a String to an InputStream using
    StringBufferInputStream, but this class is deprecated in favor of
    StringReader (as StringBufferInputStream does not properly convert
    characters into bytes).
    For the default HTTP transport, an InputStreamReader could be used to
    wrap the InputStream before calling parse().
    Ultimately, the InputStream is converted to an InputSource for use by
    the SAX parser. InputSource will accept a Reader as well.
    [from XmlRpc-Java]
    There should be a way to go from "getXMLString()" to "parse(Reader)" also. In the meantime I'm stuck.
    null

  • Class oracle.xml.sql.query.OracleXMLQuery not found in import

    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Azman Diron ([email protected]):
    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    <HR></BLOCKQUOTE>
    Managed to solve this problem.
    Drop all xml objects owned by sys and user1.
    Reload xml objcets for user1 with -force option.
    null

  • UCM archiver Export query parameter

    I would like to use IdcCommand to run archive service to export some documents in UCM.
    I noticed there seems a parameter "aExportQuery" (by searching internet) can be used to create query but I'm not sure what the syntax is for this parameter
    also, I don't see this parameter mentioned in the official document of archiver services:
    http://docs.oracle.com/cd/E21043_01/doc.1111/e11011/c07_archive002.htm#i3246938
    on another hand, this document says :
    dataSource: Must be set to RevisionIDs. This is the query stub which, along with the export query, will be used to create the list of revisions to export.
    sounds like this is where query should be created in.
    Could someone clarify how to specify query for UCM export using IdcCommand ?
    Thanks

    Hi ,
    I would suggest to set the following trace sections on UCM to get the details :
    requestaudit,socketrequest and enable Full verbose tracing .
    Then create a new archive export collection - once it is done go to view server output and check Socketrequest output , it will give the exact set of parameters and how the values are set for each of them .
    Thanks,
    Srinath

  • Problem when exporting Query from Web template to Excel Sheet.

    Hello,
    Im encoutering a problem when im trying to export query output from web template to excel sheet.
    A popup windown appears when excel sheet opens which reads.."problem cameup in the following areas during  load : Cell Value".The report layout appears to be fine but the totals shows unwanted values starting with * followed by number.
    Any valuable inputs, what could be the problem. where can i rectify the same.
    Regards
    Ellora

    Hello A K,
    Thanks for ur time and response but the option u mentioned did not serve my purpose.
    The problem seems to be only with pirticular cells.As mentioned earlier the layout appears properly..all the values are seen..but the end result..totals are disturbed.
    eg: If the report shows in template the total value :20,668,554...when exported the values is shown as **668553.88000000600000.
    So what could be the problem ? any template setting ? global setting to look at ?
    Regards
    Ellora

Maybe you are looking for

  • How do I transfer my iTunes library from a Windows laptop to a Mac?

    Help, How do I transfer my itunes library froma windows laptop to a Mac? I'm not the most technically gifted!

  • No kext for Xserve's ATI RAGE 128 in Leopard

    Xserve running OS X Server 10.5.2 The Xserve has an ATI RAGE 128 PCI graphics card from an old G3 Blue & White. System Profiler shows no kext loaded for the graphics card. The monitor displays OK, but ScreenSharing and Timbuktu both display ragged te

  • Flex only finds FlashPlayer 8

    I am very new to Flex Builder 2 and AS3, I have Flex Builder installed and when I try to 'Run' the project I get the following; C:\Program Files\Macromedia\Flash 8\Players\SAFlashPlayer.exe Flex Builder cannot locate the required version of the Flash

  • How do I get back lost apps that we're purchased ($50) but not showing up as purchased after IOS6

    I did the latest update and lost all my apps. It was not synced before the restore. How can I get my apps back that I paid a lot of money for? They are not showing up as purchased. When I go to the apps I know I purchased it does not show that it was

  • Problem of "NAME SERVER"

    Hello I've find a problem during deploy of applicationi in Netweaver Developer Studio. I've build a new Dictionary project. I've buil a new table with some rows into this project. I've deploy dictionary project. I've send my dictionary project on DTR