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

Similar Messages

  • 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

  • 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

  • Is it possible to import and export dump between oracle 9 and oracle 11?

    Is it possible to import and export dump between oracle 9 and oracle 11?
    Source DB : Oracle 11g(unix0
    Oracle client : Oracle 9(Windows)
    Export import utility : Oracle 9's
    Destination DB : oracle 9

    I am getting the Following Error and export utility is not responding after this.
    Export: Release 9.2.0.1.0 - Production on Thu Jul 15 14:37:01 2010
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)

  • 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

  • Export error on Oracle 7.3.4.4

    I created an oracle database in 7.3.4.4 using the import dump
    from oracle version 7.3.3.5. I checked the log, it all appeared
    normal. When I do a full export (with system user)I got the
    following error right at the start ...
    Connected to: Oracle7 Server Release 7.3.4.4.0 - Production
    With the distributed option
    PL/SQL Release 2.3.4.4.0 - Production
    Export done in US7ASCII character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting snapshots
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting cluster definitions
    . about to export SYSTEM's tables via Conventional Path ...
    . . exporting table DEF$_CALL
    0 rows exported
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: invalid column name
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table SYSTEM_IO
    2714 rows exported
    . . exporting table HELPLINK 15067
    rows exported
    . . exporting table HELPSCREEN 3391
    rows exported
    . . exporting table HELPTEXT 6240
    rows exported
    . . exporting table HELP_FIELDS 2958
    rows exported
    . . exporting table IC 594
    rows exported
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table DEVICE_NOTE 0
    rows exported
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table DEVICE_TERM 726
    rows exported
    The export is completed, and the table seems able to access,
    but I don't know what is the cause of the error messages.
    DOES ANYONE EXPERIENCE THIS PROBLEM?
    null

    sunlisa (guest) wrote:
    : I created an oracle database in 7.3.4.4 using the import dump
    : from oracle version 7.3.3.5. I checked the log, it all appeared
    : normal. When I do a full export (with system user)I got the
    : following error right at the start ...
    : Connected to: Oracle7 Server Release 7.3.4.4.0 - Production
    : With the distributed option
    : PL/SQL Release 2.3.4.4.0 - Production
    : Export done in US7ASCII character set
    : About to export the entire database ...
    : . exporting tablespace definitions
    : . exporting profiles
    : . exporting user definitions
    : . exporting roles
    : . exporting resource costs
    : . exporting rollback segment definitions
    : . exporting database links
    : . exporting sequence numbers
    : . exporting snapshots
    : . exporting snapshot logs
    : . exporting job queues
    : . exporting refresh groups and children
    : . exporting cluster definitions
    : . about to export SYSTEM's tables via Conventional Path ...
    : . . exporting table DEF$_CALL
    : 0 rows exported
    : EXP-00008: ORACLE error 904 encountered
    : ORA-00904: invalid column name
    : EXP-00008: ORACLE error 1003 encountered
    : ORA-01003: no statement parsed
    : . . exporting table SYSTEM_IO
    : 2714 rows exported
    : . . exporting table HELPLINK 15067
    : rows exported
    : . . exporting table HELPSCREEN 3391
    : rows exported
    : . . exporting table HELPTEXT 6240
    : rows exported
    : . . exporting table HELP_FIELDS 2958
    : rows exported
    : . . exporting table IC 594
    : rows exported
    : EXP-00008: ORACLE error 1003 encountered
    : ORA-01003: no statement parsed
    : EXP-00008: ORACLE error 1003 encountered
    : ORA-01003: no statement parsed
    : . . exporting table DEVICE_NOTE 0
    : rows exported
    : EXP-00008: ORACLE error 1003 encountered
    : ORA-01003: no statement parsed
    : . . exporting table DEVICE_TERM 726
    : rows exported
    : The export is completed, and the table seems able to access,
    : but I don't know what is the cause of the error messages.
    : DOES ANYONE EXPERIENCE THIS PROBLEM?
    null

  • For Update Query from ORACLE Forms

    Hi
    We are using Oracle Forms 10g running with 10g database 10.2.0.1.0. We happend to see a query which is getting generated in AWR report like Select rowid, all_columns from TableName for Update of C1 Nowait. But no such query is really written in forms and we are aware that, Any query prefixed with rowid is definitely executing from Forms. But how the ForUpdate and Nowait clause is appended to the query.
    We have checked the following properties in the database Block
    *1) Locking Mode is set to Automatic*
    *2) Update Changed Columns only is set to YES*
    *3) Query all records is set to No (Though this particular property may not be relevant to the issue)*
    What is the property or setting which might trigger such a query from ORACLE Forms with ForUpdate and Nowait clause.
    Any ideas/suggestions on why such behaviour. Please have a healthy discussion on this. Thanks in advance.

    you can't dynamically add a query to the data model in reports.
    You should look into the XML based customization of Oracle Reports. This will enable you to define a report dynamically by creating a definition in XML.
    Also another option is to have the report with a query in it and use lexical parameters in reports to pass the query definition or just the where part of it.
    Look at the reports online help for both of these solutions.

  • I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error

    I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error as follow
    8.1.7
    SQL> select * from nls_database_parameters where parameter like '%SET%';
    PARAMETER                      VALUE
    NLS_CHARACTERSET               US7ASCII
    NLS_NCHAR_CHARACTERSET         US7ASCII
    10.2.0
    SQL> select * from nls_database_parameters where parameter like '%SET%';
    PARAMETER                      VALUE
    NLS_NCHAR_CHARACTERSET         AL16UTF16
    NLS_CHARACTERSET               WE8MSWIN1252
    C:\Documents and Settings\Administrator>imp system/manager file=H:\CGlByte\cglby
    te_03-07-2013Wed.dmp fromuser=system touser=cglbyte ignore=y
    Import: Release 10.2.0.4.0 - Production on Thu Jul 4 16:11:49 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8MSWIN1252 character set (possible charset conversion)
    export client uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    Import terminated successfully without warnings.
    Pl suggest remedy
    Regards,

    8.1.7
    AMERICAN_AMERICA.WE8ISO8859P1
    10.2.0
    AMERICAN_AMERICA.WE8MSWIN1252
    exp system/manager file=d:\cgl.dmp owner=cgl, even i set character set before export but no impact

  • 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

Maybe you are looking for

  • Vista Ultimate: Local Network Access Only (Wired and Wireless)

    Alright, I am not very experienced working with Windows Vista, and I'm having serious trouble solving this problem. I've been searching for solutions for two days and not found anything that works. The computer is a Compaq Presario A900 running Windo

  • Export and import the internal table

    Hi, Could you explain the total internal table data how we export and import please give me example. Thanks, Hari

  • Slideshow quality is poor

    Successfully completed a many menued slideshow. On screen colour and clarity is great. When burnt to DVD, quality is quite terrible. Contrast is too high and sharpness and detail is reduced. Looks like the rendering from computer to DVD is loosing to

  • Error 4280(4820)

    I'm not sure which one it is, it's one of those, but everytime I try to burn a CD from my purchased music, it gives me that error. It will initialize it, but it won't burn, it'll cancel it. Can someone help?

  • Error while creating OM Infotype

    Dear All I am trying to create a custamized info type in OM module. I have created a HRI9009 structure in SE11 .... in ppci  I am trying to create in 9009 info type .. when I click on create button it's saying 9009 info type has not created message I