Excel import error with NCHAR field on v1.2.1

Hi, we've tried to import data from Excel to an Oracle table (10g) using SQL Developer 1.2.1. However it failed with the following error in Log Window:
ORA-00917: missing comma
Further checking revealed that one field in Oracle table was defined as NCHAR, while the generated DML value was without quote:-
insert into test_table (field1,field2) VALUES(123,1B);
When we replaced the '1B' value to numeric value 11, the import worked. As we're using an application package, we cannot simply modify the table/field's attribute from NCHAR to CHAR. Is there a way to configure SQL Developer that will have the quote placed like:-
insert into test_table (field1,field2) VALUES(123,'1B');
which works fine in SQL Developer Query mode.
Please advise, thanks :)

Note and thanks for handling and fixing this issue.
Furthermore to the import function, we also noted that the default setting cannot fit to inserting data with Chinese (or Double Byte) characters, we will need to add a "N" as a prefix, e.g.:-
insert into table_a (field_a, field_b) values(123, N'一二三')
If "N" is missing, field_b will only contains garbage.
As we notice that the import will generate insert statements, please see if you can include this problem as part of the "missing quote" fix, thanks.

Similar Messages

  • Import errors with numbers, not enough memory

    Import errors with numbers, not enough memory

    Hi heiko,
    From your system profile line, it appears you should be asking this question in the iWork For iOS forum, not this one, which deals with Numbers for Mac OS X. I'd also suggest being a bit less cryptic in writing your question.
    The link will take you to the iWork for iOS forum.
    Regards,
    Barry

  • Excel Import Error

    I am getting this message:
    Import error
    This document was created with an unsupported version of Excel. Only documents created with Excel '97 or later can be opened.
    I have searched and haven't found a solution.
    This file was created in Open Office and has been edited in Excel 08(mac). Clearly not an old version of Excel. I have opened it in Open Office and re-saved, but Numbers still won't open it.
    Weird.
    Kirk

    Found the answer. Both Excel and Open Office were saving the file back to version 5.0.
    After forcing a resave and specifying a newer file type, it opened in Numbers.

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • Import error with MPEG-2 files: Brorsoft Video Converter to Apple Prores.

    Hi,
    The Brorsoft Video Converter software gives me an 'import error' message when I attempt to import files from a folder on my desktop. That folder contains many mpg files (MPEG-2 Video, AC3). Those files in the folder on my desktop came from a Sony video camera.
    I need to convert those mpg files to Apple Prores 422 HQ so I can then edit them in Apple Final Cut Pro X.
    But when I go to import those mpg files into the Brorsoft Video Converter software, it comes up with a message saying: 'import error', indicating that the Brorsoft Video Converter software does not understand the type of file.
    I am on Mac OS X Version 10.6.8.
    I've emailed Brorsoft support but I don't think English is their first language – they've emailed back to me asking for clarification of the problem. And I need the problem fixed as I have to edit this video for someone that has many waiting customers.
    Could something have changed in the files when I copied them from the video camera to the desktop?
    Thanks in advance.
    Cheers,
    Paul

    Hi Tom,
    Thanks for your prompt reply. I was using a friend's video camera – I've just texted him for the exact model of Sony video camera. I didn't yet have the Brorsoft Video Converter software when I had to give the video camera back to my friend. So, I copied the files off the video camera to my desktop.
    It records onto an internal hard drive. And yes you're right, I don't need to go HQ. I also tried plain Apple Pro Res. That didn't work either. It comes up with 'Import error' message, so it seems like it just doesn't understand the file type.
    When I go 'Get Info' on one of the files off the camera, it tells me it is an 'MPEG-2 video, AC3' file.
    I'll try and get MPEG Streamclip like you suggested and see if that works.
    Thanks again.
    Cheers,
    Paul

  • Import error with snapshot logs

    I have an export that is a full from our production database. I'm trying to import a small subset of tables from a user to a different user. One of the tables has a snapshot log against it I believe due to the error msg in the import file. I don't care about the snapshot log I just want to get the table imported. How can I tell import to avoid the snapshot log. If this is not possible, how do I figure out what table it's says can't be found to import into.
    IMP log:
    . importing TYUADM's objects into DWADM
    . . importing table "ZONE" 10583 rows imported
    IMP-00017: following statement failed with ORACLE error 942:
    "BEGIN SYS.DBMS_REPUTIL.SYNC_UP_REP('TYUADM','ZONE'); END;"
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 79
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 157
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 201
    ORA-06512: at "SYS.DBMS_REPUTIL", line 616
    ORA-06512: at line 1
    "BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('TYUADM','ZONE'); END;"
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    ORA-06512: at "SYS.DBMS_ISNAPSHOT", line 108
    ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1666
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully

    Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 11.2.0.2 - Release: 8.1.7 to 11.2
    Oracle Server - Personal Edition - Version: 8.1.7.0 to 11.2.0.2 [Release: 8.1.7 to 11.2]
    Oracle Server - Standard Edition - Version: 8.1.7.0 to 11.2.0.2 [Release: 8.1.7 to 11.2]
    Information in this document applies to any platform.
    Symptoms
    You have created a snapshot log:
    SQL> connect system/manager
    SQL> grant create snapshot to scott;
    SQL> connect scott/tiger
    SQL> create snapshot my_snap as select * from emp;
    SQL> create snapshot log on scott.emp;
    You run a user level export:
    % exp system/manager file=exp_s.dmp log=exp_s.log owner=scott
    Export: Release 9.2.0.6.0 - Production on Tue Dec 28 08:06:12 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Export terminated successfully without warnings.
    You run a user level import, e.g. in a different database:
    SQL> connect system/manager
    SQL> create user hugo identified by hugo default tablespace
    users temporary tablespace temp
    quota unlimited on users;
    SQL> grant create session, create table, create snapshot
    to hugo;
    % imp system/manager file=exp_s.dmp log=imp_s.log fromuser=scott touser=hugo
    Import: Release 9.2.0.6.0 - Production on Tue Dec 28 08:08:16 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    . importing SCOTT's objects into HUGO
    . . importing table "BONUS" 0 rows imported
    . . importing table "DEPT" 4 rows imported
    . . importing table "EMP" 14 rows imported
    . . importing table "MLOG$_EMP" 0 rows imported
    . . importing table "MY_SNAP" 14 rows imported
    . . importing table "SALGRADE" 5 rows imported
    IMP-00017: following statement failed with ORACLE error 942:
    "BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('SCOTT','EMP'); END;"
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
    ORA-06512: at line 1
    Note that the line number in the first ORA-6512 error my differ between versions:
    - in 8.1.7.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1033
    - in 9.2.0.6.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
    - in 10.1.0.3.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1599
    - in 10.2.0.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1666
    Also note that the same errors occur when the export was done with a table level export.
    If the user SCOTT (FROMUSER) does not exist in the target database, import aborts with:
    "CREATE SNAPSHOT LOG ON "SCOTT"."EMP" WITH PRIMARY KEY EXCLUDING NEW VALUES"
    "USING ("MLOG$_EMP", (...left_out...))"
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully
    Changes
    The information in this article applies to:
    - Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 11.2.0.x
    - Oracle Server - Personal Edition - Version: 8.1.7.0 to 11.2.0.x
    - Oracle Server - Standard Edition - Version: 8.1.7.0 to 11.2.0.x
    This problem can occur on any platform.
    Cause
    Snapshots, snapshot logs, and related items are exported with the schema name explicitly given in the DDL statements, therefore, snapshots and their related items cannot be imported into a different schema.
    If you attempt to use FROMUSER and TOUSER to import snapshot data, an error will be written to the Import log file and the items will not be imported.
    Solution
    It is expected behavior that the snapshot log cannot be imported with a FROMUSER and TOUSER import. Therefore the errors should either be prevented from happening, or be ignored:
    1. Either delete the snapshot logs before the export takes place. Then run the export and import. After import completes, re-create the snapshot logs manually, and if necessary, perform a refresh of the snapshot.
    2. Or ensure that the FROMUSER (SCOTT in this example) exists in the target database, so the import session does not abort with the IMP-0 error (Import terminated unsuccessfully). During the import, ignore the errors that are related to the snapshot logs. After import completes, re-create the snapshot logs manually, and if necessary, perform a refresh of the snapshot.

  • "Import Error" with Word Document (google doc)

    I tried to open a word document that I created using Google's online document program and I keep getting 'import error' when I try to open with Pages. I tried it several times on several different .doc documents created with the Google program and get the same error message.
    G4 Powerbook   Mac OS X (10.4.8)  

    It's likely they aren't true Word documents & there is some formatting or feature that the translator in Pages can't handle. Could you post a link to where these can be created so others of us can try it?

  • How to solve import error with iTunes Producer?

    Please help me out by telling me what is going wrong after I update my ibook with iTunes producer. The fetched statuses goes from internal transfer to import processing to import error. But I can't find out anywhere what is wrong......I'm getting crazy because as you can see I'm busy with it from febr, 16th .... And that is 9 days too long...
    I have read a lot on the web and the forums but no one seems to have an answer. I have sent it to Apple, But no answer. Is there a server Meltdown?

    The problem was indeed in the videos. Also Apple told me that by mail. This is what I finally did:
    I duplicated my iBook version.(.iba file)
    I removed all the video's
    I saved that version (.iba file)
    I saved that ibook (.ibooks file)
    I opened the original iTunesProducer package of the book (.itmsp file)
    I uploaded/delivered the file
    I checked the status with the file - history option
    and it said as latest status imported.
    Now I'm putting the video files one by one back in the book and upload. And wait and see when it is going wrong. Up to now I have done 2 succesfull uploads with movies. So I guess the movies were the problem. To be followed....

  • Import Error with Pages

    I have been working on my college application essay for a while now, and I've had it saved as a Word Document on my flash drive. Today, I tried to open the file and it said: Import Error: file format invalid. My flash drive and computer both work completely fine; I have other word files on my flash drive that I can open and use as normal. I've tried opening the file on both my brother and mom's MacBook Pros and I'm receiving the same message. I tried it on our HP computer as well, and when I open the file I'm getting this weird encoding message. (Sorry, I'm not much of a tech guru and can't use any fancy terms). I think the file might be damaged, but I don't know how that would've happened. I'm sorry if this isn't enough information, but this is everything I know and have tried. If anybody knows what's wrong and has any solutions (laymen's terms are preferred, please), I would be very grateful! (Ironically enough, I was about to back up the file from when I last saved it...)

    After having the same issue, I found your post and thought I'd share my solution for your future reference and others.  This little tid bit helps when the pages document corrupts and we receive that friendly "Import Error The file format is invalid." message.
    Rename the file from "My important assignment.pages" to "My important assignment.zip" and tell the message you really do want to use .zip.
    -- Double-click the file.
    -- Open the "My important assignment" folder, and open "QuickLook" folder.
    -- Double-click the "Preview.pdf"
    -- Copy the text and paste into a new Pages document.
    These steps help you to recover your page file info.
    Good Luck 

  • Excel interop. error with Visual Studio 2012

    I am using a stand alone and not a server loaded with VS and office 10, I have done all the interop and importing name space and from my experience that should not be a problem.
    Just help, how is this finally resolved, have you done an article on it?
    Retrieving the COM class factory for component with CLSID {00024500-000-000-C00000000046}
    failed due to the following error:
    80004023 A Microsoft software installer error was encountered.(exception from HRESULT:0x80004023)
    Please help

    Hi,
    >>The reason this is the right forum is that we are talking about preserving COM and hooking up these libraries
    into the managed environment using Interoperation. 
    I will clarify the topic of this forum. This forum is discussion questions about visual studio extension such as the VSPackage, Add-in and so on. And according to your second reply
    "By the way am getting this error while sending data from VS 2012 to Excel"
    and your original post, that forum is the correct one. General Office Development forum is for office
    developer or related with office development. Your problem is related with excel, in other word, Microsoft office.
    And the
    General
    Office Development forum is for general Office Developer discussions and questions that are either non-application specific
    and/or are not specific to one of the product specific forums in this category. 
    I have consulted the engineer there to ensure it is a case there.
    Please feel free to let me know if I misunderstand you.
    Thank you for your understanding!
    Best regards,
    Sunny

  • Import Wizard with timestamp fields

    Hi there,
    I'm trying to copy data with time stamp from one server to another, but I'm keep getting the following error.
    Error 0xc0202048: Data Flow Task: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
    (SQL Server Import and Export Wizard)
    Is there anyway I can deselect the timestamp field when I run the wizard?
    How can I successfully transfer the data?
    Thanks
    regards,
    Mike

    Hi, I'm having the same issue even with the On Error column set to 'ignore" in the Data Type Mapping review screen.
    I've also seen in the Conversion Details the comment about timestamp vs VarChar, but if I uncheck the Convert column I am unable to run the import.
    There must be a way to overcome this?
    Thanks
     Validating (Error)
    Messages
    Error 0xc0202048: Data Flow Task 1: Attempting insertion into the row version column "TimeStamp". Cannot insert into a row version column.
     (SQL Server Import and Export Wizard)
    Error 0xc0202045: Data Flow Task 1: Column metadata validation failed.
     (SQL Server Import and Export Wizard)
    Error 0xc004706b: Data Flow Task 1: "component "Destination - SorContractPrice" (92)" failed validation and returned validation status "VS_ISBROKEN".
     (SQL Server Import and Export Wizard)
    Error 0xc004700c: Data Flow Task 1: One or more component failed validation.
     (SQL Server Import and Export Wizard)
    Error 0xc0024107: Data Flow Task 1: There were errors during task validation.
     (SQL Server Import and Export Wizard)
    [Source Information]
    Source Location : E:\SYSPRO61\Temp\METSUPL.xls
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Table: `METSUPL$`
    Column: TimeStamp
    Column Type: VarChar
    SSIS Type: Unicode string [DT_WSTR]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\JetToSSIS.xml
    [Destination Information]
    Destination Location : siwerp
    Destination Provider : SQLNCLI10
    Table: [dbo].[SorContractPrice]
    Column: TimeStamp
    Column Type: timestamp
    SSIS Type: byte stream [DT_BYTES]
    Mapping file (to SSIS type): C:\Program Files (x86)\Microsoft SQL Server\100\DTS\MappingFiles\MSSQLToSSIS10.XML
    [Conversion Steps]
    Step 1: DT_WSTR to DT_BYTES
    SSIS conversion file: C:\Program Files (x86)\Microsoft SQL Server\100\DTS\binn\DtwTypeConversion.xml

  • 1.5.1: Excel import - Problem with NULL values in date fileds

    Hi,
    I'm trying to import Excel Data via CSV with the import into table feature of SQLDeveloper.
    Everything works fine, but if I select some of my date colums I get an error telling me that I have null or invalid values in a date column:
    Verifying if the Date columns have date formats
    FAILED
    Date columns SOA_CONTROLLING_NO, SOA_DATE_OF_CONTROLLING, PAYOUT_ME_2_SUM, PAYOUT_ME_1_SUM, PAYOUT_PLUS_SUM, PAYOUT_6_SUM, PAYOUT_5_SUM, PAYOUT_4_SUM, PAYOUT_3_SUM, PAYOUT_2_SUM, PAYOUT_1_SUM, CONTRACT_APPENDIX_SUM, CONTRACT_BASE_SUM, ME_CONVENANT_SUM, REF_SUM_NO_REPAY, SEL_CONVENANT_SUM, ME_REQ_SUM, REF_REQ_SUM_NO_REPAY, SEL_REQ_SUM,  have invalid or null date formats
    I tried:
    +20012121313,demo1,,+
    +20012121313,demo1,NULL,+
    +20012121313,demo1,to_date(NULL),+
    but none of them worked...
    How may I import those columns, where some of the rows contain NULL values?
    Same story using 1.5... ;-(
    Thank you!
    Best regards,
    Johann

    Look at the query Andy proposed:
    SELECT NULL LINK, start_date, NVL(sum_of_trans, 0) + 0.001 VALUE
      FROM (SELECT   TRUNC (startdate) start_date,
                     CASE
                        WHEN :p9_view_by = 1
                           THEN ROUND (DURATION / 60, 3)
                        ELSE 1
                     END sum_of_trans
                FROM TRANSACTION
               WHERE trans_id = x AND startdate BETWEEN y AND z
            GROUP BY TRUNC (startdate)) xDoes this query deliver anything?
    Denes Kubicek

  • Error with date field when inserting records into sql server from webdynpro

    Dear SDN's,
    I am trying to insert the records into sql server through my webDynpro program.
    I have created a date field in a dictionary with the datatype date.
    In my webdynpro program to insert the date i am following the below format.
    String dateString = "2006/12/10";
          java.util.Date d=new java.util.Date(dateString);
          java.sql.Date <b>date</b> = new java.sql.Date(d.getTime());
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,<b>REQDT</b>,ADVCE,ETADV,PURTR) values(21, '555-1212', '" + <b>date</b> + "', 5000, '20060501','hi')");
    when i try to execute it, it gives the following error.
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "TRAVEL_HEADER" ("TRQID","PROJECTID","REQDT","ADVCE","ETADV","PURTR") VALUES (21,'555-1212','2006-12-10',5000,'20060501','hi')" contains the semantics error[s]: - type check error: new value (element number 3 (CHAR)) is not assignable to column  >>REQDT<< (DATE)</b>
    Please correct me.
    Your help will be appreciated.
    Regards,
    Sireesha.B

    Hi,
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,REQDT,ADVCE,ETADV,PURTR) values(21, '555-1212', 'date', 5000, '20060501','hi')");
    try like this.
    I Think in SQL the general format to take date as input like this.
    INSERT INTO X VALUES ('10/30/56')
    thaks,
    Lohi.

  • Data pump import error with nested tables

    So the problem is somewhat long :)
    Actually the problems are two - why and how oracle are treating OO concept and why data pump doesn't work?
    So scenario for the 1st one:
    1) there is object type h1 and table of h1
    2) there is unrelated object type row_text and table of row_text
    3) there is object type h2 under h1 with attribute as table of row_text
    4) there is table tab1 with column b with data type as table of h1. Of course column b is stored as nested table.
    So how do you think - how many nested tables Oracle will create? The correct answer is 2. One explicitly defined and one hidden with system
    generated name for the type h2 which is under type h1. So the question is WHY? Why if I create an instance of supertype Oracle tries to adapt
    it for the subtype as well? Even more if I create another subtype h3 under h1 another hidden nested table appears.
    This was the first part.
    The second part is - if I do schema export and try to import it in another schema I got error saying that oracle failed to create storage table for
    nested table column b. So the second question is - if Oracle has created such a mess with hidden nested tables how to import/export to another
    schema?
    Ok and here is test case to demonstrate problems above:
    -- creating type h1 and table of it
    SQL> create or replace type h1 as object (a number)
      2  not final;
      3  /
    Type created.
    SQL> create or replace type tbl_h1 as table of h1;
      2  /
    Type created.
    -- creating type row_text and table of it
    SQL> create or replace type row_text as object (
      2    txt varchar2(100))
      3  not final;
      4  /
    Type created.
    SQL> create or replace type tbl_row_text as table of row_text;
      2  /
    Type created.
    -- creating type h2 as subtype of h1
    SQL> create or replace type h2 under h1 (some_texts tbl_row_text);
      2  /
    Type created.
    SQL> create table tab1 (a number, b tbl_h1)
      2  nested table b
      3  store as tab1_nested;
    Table created.
    -- so we have 2 nested tables now
    SQL> select table_name, parent_table_name, parent_table_column
      2  from user_nested_tables;
    TABLE_NAME                     PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    SYSNTfsl/+pzu3+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"
    TAB1_NESTED                    TAB1
    B
    -- another subtype of t1
    SQL> create or replace type h3 under h1 (some_texts tbl_row_text);
      2  /
    Type created.
    -- plus another nested table
    SQL> select table_name, parent_table_name, parent_table_column
      2  from user_nested_tables;
    TABLE_NAME                     PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    SYSNTfsl/+pzu3+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"
    SYSNTfsl/+pz03+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H3")."SOME_TEXTS"
    TAB1_NESTED                    TAB1
    B
    SQL> desc "SYSNTfsl/+pzu3+jgQAB/AQB27g=="
    Name                                      Null?    Type
    TXT                                                VARCHAR2(100)OK let it be and now I'm trying to export and import in another schema:
    [oracle@xxx]$ expdp gints/xxx@xxx directory=xxx dumpfile=gints.dmp logfile=gints.log
    Export: Release 11.2.0.1.0 - Production on Thu Feb 4 22:32:48 2010
    <irrelevant rows skipped>
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "GINTS"."TAB1"                                  0 KB       0 rows
    . . exported "GINTS"."SYSNTfsl/+pz03+jgQAB/AQB27g=="         0 KB       0 rows
    . . exported "GINTS"."TAB1_NESTED"                           0 KB       0 rows
    . . exported "GINTS"."SYSNTfsl/+pzu3+jgQAB/AQB27g=="         0 KB       0 rows
    Master table "GINTS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    ******************************************************************************And now import. In order to create types transformation of OIDs is applied and also remap_schema
    Although it fails to create the table.
    [oracle@xxx]$ impdp gints1/xxx@xxx directory=xxx dumpfile=gints.dmp logfile=gints_imp.log remap_schema=gints:gints1 transform=OID:n
    Import: Release 11.2.0.1.0 - Production on Thu Feb 4 22:41:48 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Release 11.2.0.1.0 - Production
    Master table "GINTS1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "GINTS1"."SYS_IMPORT_FULL_01":  gints1/********@xxx directory=xxx dumpfile=gints.dmp logfile=gints_imp.log remap_schema=gints:gints1 transform=OID:n
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"GINTS1" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE:"GINTS1"."TAB1" failed to create with error:
    ORA-02320: failure in creating storage table for nested table column B
    ORA-00904: : invalid identifier
    Failing sql is:
    CREATE TABLE "GINTS1"."TAB1" ("A" NUMBER, "B" "GINTS1"."TBL_H1" ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; BEGIN  DELETE FROM "SYS"."IMPDP_STATS";   c(1) :=   DBMS_METADATA.GET_STAT_COLNAME('GINTS1','TAB1_NESTED',NULL,'TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"',1);  DBMS_METADATA.GET_STAT_INDNAME('GINTS1','TAB1_NESTED',c,1,i_o,i_n);   INSERT INTO "
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; BEGIN  DELETE FROM "SYS"."IMPDP_STATS";   c(1) :=   DBMS_METADATA.GET_STAT_COLNAME('GINTS1','TAB1_NESTED',NULL,'TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H3")."SOME_TEXTS"',1);  DBMS_METADATA.GET_STAT_INDNAME('GINTS1','TAB1_NESTED',c,1,i_o,i_n);   INSERT INTO "
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Job "GINTS1"."SYS_IMPORT_FULL_01" completed with 4 error(s) at 22:41:52So any idea how to make export/import of such tables?
    TIA
    Gints

    Tom Kyte has said it repeatedly ... I will repeat it here for you.
    The fact that Oracle allows you to build object tables is not an indication that you should.
    Store your data relationally and build object_views on top of them.
    http://www.morganslibrary.org/reference/object_views.html
    If you model properly, and store properly, you don' have any issues.

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

Maybe you are looking for

  • ITunes no longer supported on PPC MACS!!

    This can't be right?? Apple is leaving all it's long time supporters using PPC macs out in the cold for future updates to iTunes? But they are still supporting Windows XP and up??  Please tell me this is just an oversight and a fix is coming. For tho

  • Windows 8 Upgrade, Partition Unallocated

    I have a Seagate 3TB Barracuda XT drive on my Asus P6X58D Premium based system using the Marvell 9123 Sata 3 storage controller.  Running Win 7 Pro x64 I had it divided into a a 2TB partition (Basic) as my C volume and a 1TB partition (Basic) as a sp

  • Dvd is done, how do I make copies?

    I created a movie in iMovie, shared it to iDvd, applied a Theme, and burned a dvd. Now I want to make multiple copies of the dvd. To do so thru iDvd would take a very long time, as the movie is 1 hour and 45 minutes. I have Popcorn, Handbrake, and MP

  • Youtube video playback is jumpy.

    Youtube was working fine for me a few days ago. Now, when I play videos they are jumpy and shaky. The audio is fine. I have already tried a software update, flash update, and rebooting. What can I do to fix it?

  • Multiple VLANs per SSID with local switch

    Is it possible to use an 'AP Group' or 'Interface group' to assign multiple VLANs to a WLAN when remote, h-reap APs are in local switch mode?  If not, is there a way to overcome 500 maximum host per VLAN when APs are local switching? Thanks!