Impdp exclude tables getting error

hi,
i issued impdp like this
$impdp dumpfile=xxxxx.dmp logfile=xxx.log directory=xxxxxx exclude=table:"IN('scott.emp','tiger.dept')" full=y version=10.2.0.3
getting error
"exclude badly formed"
thanks in advance
g

Like oradba said, it is better to use a parameter file.
Depending on your Operational System, special characters in the EXCLUDE clause may need to be escaped if you use the command line.
Take a look here for more info: http://www.oracle-base.com/articles/10g/OracleDataPump10g.php#IncludeExclude

Similar Messages

  • From pl/sql table getting error - "ORA-01403: no data found"

    Hi All,
    i habe written package, and the spce define as -
    type F761RecType is RECORD (
    type F761TabType is TABLE of F761RecType INDEX BY BINARY_INTEGER;
    l_F761_table F761TabType;
    PROCEDURE modification1
    p_F761_table IN F761TabType,
    From button click of form i passed -
    DECLARE
    l_f761_table I743_PUC_MAPS_TREE_PKG.F761TabType;
    l_counter number;
    BEGIN
              LOOP
         l_counter :=l_counter+1;
              l_f761_table(l_counter).P_TABLE := :MAPS.P_table;
         EXIT WHEN      :SYSTEM.LAST_RECORD = 'TRUE' ;
    next_record;
    end loop;
    i743_puc_maps_tree_pkg.modification1(
                                            p_F761_table => l_f761_table,
    END;
    Now when I take table count (l_f761_table.count) in button click in form level I am getting value; but when I try to get the count in sid the package, it giving error "ORA-01403: no data found".
    Pls tell me where I am wrong ..!!
    BR,
    Subir

    Thaks all, probls has been solved..

  • Looking at dependencies for a table gets Error ORA-01436: CONNECT BY loop

    I have just tried looking at the dependencies for a table and I received an "ORA-01436: CONNECT BY loop in user data.
    Please let me know if there are any fixes or work arounds for this problem.
    Thanks
    Sunil

    Looks like there is another posting on this.
    ORA-01436 in Dependencies
    Because the query uses CONNECT BY and there is a circular reference it errors out. If it didn't, there would be an infinite number of results.
    This is the query that Oracle is using: SELECT owner, object_type, object_name, object_id, status , decode(replace(object_type,' ','_'),'PACKAGE_BODY','PACKAGE',replace(object_type,' ','_')) type_link
      FROM sys.all_objects
      WHERE object_id IN (
              SELECT object_id
                 FROM public_dependency
               CONNECT BY PRIOR object_id = referenced_object_id
               START WITH referenced_object_id = :OBJECT_ID ) pulled from sql_dev_root/jdev/extensions/oracle.dbdev.oviewer.jar, editors.xml
    I am not a connect by pro, so I can't tell you how to alter this to make it stop digging when it encounters an infinite loop, but maybe someone else can. In other tools, it normally dynamically pulls this data into a tree so it is only querying one level at a time.
    This happens if for example MY_TABLE depends upon MY_PACKAGE and vice versa:
    --MY_TABLE
      --MY_PACKAGE
        --MY_TABLE
          --MY_PACKAGE
            .... Hopefully someone on the sql dev team has a solution to this and can get it fixed in a later release.

  • Createin table gets error

    hi friends,
    i have made one new user test and this user has create sesssion,create table, create sequence,create view privileges.
    but when i create new table then gives error
    error like this
    ORA_01959: no privileges on tablespace 'system'
    pls help me why this problem
    thanks in advance

    Set Default tablespace as USERS:
    SQL> ALTER USER  TEST
      2  DEFAULT TABLESPACE USERS;
    User altered.

  • When Import get Error-00904 Invalid Column Name

    Hi all,
    I'm using DI Premium 3.0 with Oracle 10.2.0.1.0 repository. I'm trying to connect Oracle 8.1.4.7.1 (8i) but when i going to import tables get Error-00904 Invalid Column Name. If i connect to Oracle 10.2.0.4.0 don't get error.
    Trying from DI XI R2 (11.7) with Oracle 10.2.0.2.0 repository, to connect Oracle 8.1.4.7.1 (8i) don´t get error!
    Is error from Oracle repository version?
    Thanks in advance.
    Jorge

    Hi Manoj,
    This is the output:
    SQL> desc all_tab_columns
    Name                                      Null?    Type
    OWNER                                      NOT NULL      VARCHAR2(30)
    TABLE_NAME                             NOT NULL      VARCHAR2(30)
    COLUMN_NAME                          NOT NULL      VARCHAR2(30)
    DATA_TYPE                                           VARCHAR2(106)
    DATA_TYPE_MOD                                           VARCHAR2(3)
    DATA_TYPE_OWNER                                         VARCHAR2(30)
    DATA_LENGTH                           NOT NULL      NUMBER
    DATA_PRECISION                                          NUMBER
    DATA_SCALE                                                   NUMBER
    NULLABLE                                                     VARCHAR2(1)
    COLUMN_ID                                 NOT NULL      NUMBER
    DEFAULT_LENGTH                                          NUMBER
    DATA_DEFAULT                                            LONG
    NUM_DISTINCT                                                 NUMBER
    LOW_VALUE                                                    RAW(32)
    HIGH_VALUE                                                   RAW(32)
    DENSITY                                                      NUMBER
    NUM_NULLS                                                    NUMBER
    NUM_BUCKETS                                             NUMBER
    LAST_ANALYZED                                           DATE
    SAMPLE_SIZE                                                  NUMBER
    CHARACTER_SET_NAME                                    VARCHAR2(44)
    CHAR_COL_DECL_LENGTH                                 NUMBER
    GLOBAL_STATS                                            VARCHAR2(3)
    USER_STATS                                                   VARCHAR2(3)
    AVG_COL_LEN                                             NUMBER
    Thanks for your help.
    Jorge

  • Excluding table in impdp

    Hi Friends,
    I need to exclude two tables in impdp.. help me in this...
    impdp system directory=exportdump tables=SYNC.cin_document query=SYNC.CIN_DOCUMENT:'"where rownum<10"' dumpfile=satexpdpdump.dmp logfile=1.log CONTENT=DATA_ONLY EXCLUDE=TABLE:"SYNC.CIN_DETAIL,SYNC.CIN_DOCUMENT_GTIN"
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39071: Value for EXCLUDE is badly formed.
    ORA-00920: invalid relational operator

    Thanks friends ,,, I got the solution.
    Solution:
    instead of excluding i have mentioned only one table name in "tables=SYNC.cin_document" field. I have just removed the EXCLUDE option ..It is working fine..
    The following query i have used.
    impdp system directory=exportdump tables=SYNC.cin_document query=SYNC.CIN_DOCUMENT:'"where rownum<2570000"' dumpfile=satexpdpdump.dmp logfile=2570000d000gih.log CONTENT=DATA_ONLY
    For your reference.:
    The following scenario explains: 3 tables exported under scott. but we need to import only two tables. output follows
    step1:
    =============
    create directory data_pump_dir as '/u01/oracle/my_dump_dir';
    grant read,write on directory data_pump_dir1 to system;
    expdp system/sys DIRECTORY=data_pump_dir DUMPFILE=tables.dmp logfile=table.log TABLES=SCOTT.DEPT,SCOTT.EMP,SCOTT.BONUS
    output:
    [oracle@linux1 ~]$ expdp system/sys DIRECTORY=data_pump_dir DUMPFILE=tables.dmp logfile=table.log TABLES=SCOTT.DEPT,SCOTT.EMP,SCOTT.BONUS
    Export: Release 10.2.0.1.0 - Production on Tuesday, 10 May, 2011 19:40:00
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** DIRECTORY=data_pump_dir DUMPFILE=tables.dmp logfile=table.log TABLES=SCOTT.DEPT,SCOTT.EMP,SCOTT.BONUS
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 128 KB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    . . exported "SCOTT"."DEPT" 5.656 KB 4 rows
    . . exported "SCOTT"."EMP" 7.820 KB 14 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SYSTEM"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_TABLE_01 is:
    /u01/app/oracle/product/10.2.0/db_1/rdbms/log/tables.dmp
    Job "SYSTEM"."SYS_EXPORT_TABLE_01" successfully completed at 19:40:22
    [oracle@linux1 ~]$
    Step 2:
    SQL> alter table DEPT rename to dept1;
    Table altered.
    SQL> alter table EMP rename to emp1;
    Table altered.
    SQL> select * from tab;
    TNAME TABTYPE CLUSTERID
    BONUS TABLE
    SALGRADE TABLE
    EMP1 TABLE
    DEPT1 TABLE
    ==============================================================================
    [oracle@linux1 ~]$ impdp system/sys DIRECTORY=data_pump_dir DUMPFILE=tables.dmp TABLES=SCOTT.DEPT,SCOTT.EMP
    output:
    Import: Release 10.2.0.1.0 - Production on Tuesday, 10 May, 2011 19:48:51
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSTEM"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_TABLE_01": system/******** DIRECTORY=data_pump_dir DUMPFILE=tables.dmp TABLES=SCOTT.DEPT,SCOTT.EMP
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SCOTT"."DEPT" 5.656 KB 4 rows
    . . imported "SCOTT"."EMP" 7.820 KB 14 rows
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    ORA-31684: Object type INDEX:"SCOTT"."PK_DEPT" already exists
    ORA-31684: Object type INDEX:"SCOTT"."PK_EMP" already exists
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ORA-31684: Object type CONSTRAINT:"SCOTT"."PK_DEPT" already exists
    ORA-31684: Object type CONSTRAINT:"SCOTT"."PK_EMP" already exists
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-02270: no matching unique or primary key for this column-list
    Failing sql is:
    ALTER TABLE "SCOTT"."EMP" ADD CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO") REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
    Job "SYSTEM"."SYS_IMPORT_TABLE_01" completed with 5 error(s) at 19:48:54
    [oracle@linux1 ~]$
    SQL> select * from tab;
    TNAME TABTYPE CLUSTERID
    BONUS TABLE
    SALGRADE TABLE
    EMP1 TABLE
    DEPT1 TABLE
    DEPT TABLE
    EMP TABLE
    6 rows selected.
    SQL>

  • Getting error while inserting a row in a table

    Hi,
    The following error occurs when one of my enduser is trying to enter record into a table
    <b>Error: Insertion of Infotype 1032 (return code 3) </b>
    There are no records in the table at all.. what could be the reason and why the error occurs?
    Thanks in advance
    Regards,
    Suresh

    Hello Suresh,
    in which table... did you get a dump?
    What is the ORA-error? Is a trace or an alert.log entry generated?
    Your information is insufficient to solve the problem
    Regards
    Stefan

  • Getting error while importing tables

    Hi,
    I have the servers on linux box and clients are installed on my local machine. I have created on DSN for connecting Biserver.
    When i'm trying to import tables i am getting an error.
    I have placed tns entries in Linux box as mentioned below path.
    OBIEE/Oracle_BI1/network/admin
    But even though i am not able to import table getting an error.. 'Connection fail'
    Regards,
    Mall

    Since you are using client to import table is it not required in local for tnsnames.ora?
    For server you have set that helps after hosting the rpd file, I hope you are not using online mode to import table if you are doing that I dont think that will work...
    Try to use your connection details something like below
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    If helps mark or else let us know your basic test to connect to database like tnsping from command etc..

  • Get Error while update the User defined row table through DSK Code

    Hi experts,
    I have got an error while updating the user row defined table.
    Error is - "Invalid row"
    I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
    First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
    after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    Following Code used for updating the user defined child table.
      SAPbobsCOM.GeneralService oGeneralService1 = null;
                                    SAPbobsCOM.GeneralData oGeneralData1 = null;
                                    SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
                                    SAPbobsCOM.CompanyService sCmp1 = null;
                                    SAPbobsCOM.GeneralData oChild1 = null;
                                    SAPbobsCOM.GeneralDataCollection oChildren1 = null;
                                    sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
                                    oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
                                    // Get UDO record
                                    oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
                                    oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
                                    oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
                                    // Add lines on UDO Child Table
                                    oChildren1 = oGeneralData1.Child("CBF_FAR1");
                                    // Create data for rows in the child table
                                    SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
                                    oCombo = oItem.Specific;
                                    string ShedCode = oCombo.Selected.Value;
                                    ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                    string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
                                    ldna_Rec.DoQuery(strQuery1);
                                    oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
                                    oChild1.SetProperty("U_Status", "Ready For Schedule");
                                    //Update the UDO Record
                                    oGeneralService1.Update(oGeneralData1);
    Please Help me it is an urgent requirement,
    -Regards
    Vikas

    hi.
    Error is - "Invalid row"
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    As per my knowledge
    What i understood is you have 5 lines and you are going to be update 5th line
    am i correct..
    while u are updating the line in child table
    you have to consider like this..
    line number         u have to update like
    1                                        0
    2                                        1
    3                                        2
    4                                        3
    5                                        4
    which means in child table treat
    line 1  as 0
    line 2 as  1
    line 5 as 4
    If you want to update the line 5 u have to mention 4 th line

  • Getting Errors while using IMPDP command in UNIX

    Hi All,
    My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
    I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
    so please tell me what are the actual problems that might cause the IMPDP to be failed.
    with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
    But i feel that every time starting and stopping the listener is not the correct solution.
    so please help me in this regard.
    Regards
    Naveen R.

    The error i am getting is...
    UDI-03113: operation generated ORACLE error 3113
    ORA-03113: end-of-file on communication channel
    Process ID: 6208
    Session ID: 346 Serial number: 298
    UDI-03114: operation generated ORACLE error 3114
    ORA-03114: not connected to ORACLE
    [user1@node1 cpt]$
    DB version is 11.1.0.6.0
    os is.. Red Hat Linux

  • While posting f-53 i getting error missing table T043G

    Hi
    while posting F-53  i getting error "company code" is Missing table T043G.
    What can i do for this..  can u advise this.
    Thank u
    anil

    hi anil,
    you are not given the tolerance group for customers/vendors, give the tolerance group for the same and try it.
    also give the gl tolerance,
    try t.codes oba0, oba3
    pls award points.
    Raghav

  • Table Maintainance Generated but getting error when running SM30

    Hi Experts,
    I am modifying existing ZTable with around 31 fields and Maintainance was not allowed before also no Table maintainance was there. Now i have changed the attributes to allow maintainance and tried creating Table Maintainance generator.
    The TMG get created sucessfully but get error message when running SM30 for the Ztable with Run time error saying Coversion Error .
    Error Analysis says :
    Program SAPLZNMSLG attempted to display the fields of screen 0005 and error occured during the coversion of this data.
    Can any one let me know what happened? Expecting replies at the earliest.
    Thanks
    Smita

    Hi,
    In Text I/O Template Tab each field name will be there with Column- Name, Type  and Text Or I/O Field
    Go to Text OR I/O Field (Fields Wherever u have negative value).
    Name                     Type         Text Or I/O Field
    vbak-menge         I/O                _.___.___.___,____V
    Just add existing blank field ending with V.
    Regards,
    Nandha

  • Getting error when inserting Web API/Table Inteface class in Web Template !

    Hi Experts,
    I am getting error -- Invalid Renderer class: '&1' ZTEST_BWREPORT_ADI
    while inserting the <param name="ITEM_CLASS" value="ZTEST_BWREPORT_ADI"/> in HTML code of the template, having one table web item, before  <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/> statement to get the customization I have done in ZTEST_BWREPORT_ADI as per table interface.
    Please look into the issue and try to suggest the possible solutions as soon as possible.
    Regards,
    Aditya Srivastava.

    Hi,
    The got the solution which is nothing tricky. I have to just insert <param name = "MODIFY_CLASS" value = "ZTEST_BWREPORTS_ADI"/> after <param name = "ITEM_CLASS" value = "CL_RSR_WWW_ITEM_GRID"> to get the desired result. Though I don't know what might be the reason (since I am very new to BW) but atleast the thing is working.
    Regards,
    Aditya Srivastava.

  • Recovering table from Flashback getting error

    Recovering table from Flashback getting error what is the reson
    1* FLASHBACK TABLE "BIN$e7TIAEKgSYO2WJ0L+hNuTA==$0" TO BEFORE DROP
    SQL> /
    FLASHBACK TABLE "BIN$e7TIAEKgSYO2WJ0L+hNuTA==$0" TO BEFORE DROP
    ERROR at line 1:
    ORA-38312: original name is used by an existing object

    This droped object original name is now taken by some other object in database so u can give this cmd like
    FLASHBACK TABLE TEST TO BEFORE DROP RENAME TO TEST2;
    it recover the table test and give the name as test2 because test table is already exist and that is created while this table is in recyclebin.

  • Getting error "SQL error in the database when accessing a table."

    Hi All,
    We are getting Dump Error SQL error in the database when accessing a table for the batch job EISSD/REQUISITION 14 / which includes program AQ20FD==========A2============. Please reply. The Dump error details are as follows
    Short text
        SQL error in the database when accessing a table.
    How to correct the error
        Database error text........: "ORA-01555: snapshot too old: rollback segment
         number 21 with name "_SYSSMU21$" too small"
        Internal call code.........: "[RSQL/FTCH/VBRK ]"
        Please check the entries in the system log (Transaction SM21).
    Thanks
    Padmakar Kudtarkar
    Edited by: Rob Burbank on May 19, 2011 9:38 AM

    The query where we are getting error in Standard program AQ20FD==========A2============ for Job
    EISSD/REQUISITION 14 / is as follows:
    select VBRKBUKRS VBRKFKART VBRKFKDAT VBRKFKTYP VBRKGJAHR VBRKKUNAG VBRKKUNRG VBRKKURRF VBRKVBELN VBRKWAERK VBRP~AUBEL
           VBRPAUPOS VBRPFKIMG VBRPKVGR2 VBRPKZWI1 VBRPMATNR VBRPMWSBP VBRPNETWR VBRPPSTYV VBRPVBELN VBRPVGBEL VBRP~VGPOS
           VBRPVKBUR VBRPVKGRP VBRPVRKME VBRPWAVWR
    into (VBRK-BUKRS , VBRK-FKART , VBRK-FKDAT , VBRK-FKTYP , VBRK-GJAHR , VBRK-KUNAG , VBRK-KUNRG , VBRK-KURRF , VBRK-VBELN
         , VBRK-WAERK , VBRP-AUBEL , VBRP-AUPOS , VBRP-FKIMG , VBRP-KVGR2 , VBRP-KZWI1 , VBRP-MATNR , VBRP-MWSBP , VBRP-NETWR
         , VBRP-PSTYV , VBRP-VBELN , VBRP-VGBEL , VBRP-VGPOS , VBRP-VKBUR , VBRP-VKGRP , VBRP-VRKME , VBRP-WAVWR )
    from ( VBRK
           inner join VBRP
           on VBRPVBELN = VBRKVBELN )
           where VBRK~BUKRS in SP$00004
             and VBRK~FKDAT in SP$00001
             and VBRK~KUNAG in SP$00002
             and VBRK~VBELN in SP$00006
             and VBRP~MATNR in SP$00003.
      %dbacc = %dbacc - 1.
      if %dbacc = 0.
        stop.
      endif.
      check SP$00004.
      check SP$00001.
      check SP$00002.
      check SP$00006.
      check SP$00003.
      add 1 to %count-VBRK.
      %linr-VBRK = '01'.
      extract %fg01.
      %ext-VBRP01 = 'X'.
        extract %fgwrVBRP01.
    endselect.

Maybe you are looking for

  • How do i make letter heads on all pages

    How do I make letter heads on all pages in pages?

  • Notifications are not being sent when Bulk Load is done

    Hi All, I have OIM 11g setup on my machine. I use the bulk load utility for loading the user data. Now in my OIM setup, the notifications are being sent for all stuff like Reset Password. New account creation and other. However when I bulk load the u

  • Is there a way to allow "send to lab" export in lightroom?

    I would like to develop e plugin for my clients in lightroom. I need a plugin who let clients directly send photographs to my lab. For example in an ftp site. I've seen time ago something like that and i would like to do it for my lab. Is it quite po

  • TV preview monitor shows "wriggled" top part

    I just bought a separate TV monitor, connected to Firewire via my Sony DVcam When I play back sequences, the top 10% of the TV screen 'wriggles' The rest of the picture is fine. I use a S-video connection between the DV cam and the TV monitor andI us

  • Problem with text in Brush Stroke motion menu

    Hi, I am using the Brush Stroke motion menu, which is designed to have the text within the brushstoke appear gradually as the brushstroke moves across the screen. That worked fine, until I went to change the color of the fonts. Something happened, an