Unable to export table into oracle 9i

Hi all
While exporting tables from SQL Server 2000 using DTS Export, after successfully exporting tables into oracle9i in Windows, now I am getting following error.
[Oracle][ODBC][Ora]ORA-01740:missing double quote in identifier
Any suggestions to resolve the problem.
Regards
Vijay Kumar

Hi,
My objective is to port data from legacy database in SQL Server to oracle database
After 10 tables if you are getting the Error means you can trace out the problem.
When you go for SQL Server 2000 DTS, you can find from Diagramatic Representation that the process is going on.
I mean if process of porting or transfer of data is happened successfully then you can see the GREEN Color for the process if completed from one table to another.
So check the Error for which table you are facing this error.
Then, check the Column mappings between the table.
If there is any data with single quote then you need append single quote before that other wise you will face this issue.
The problem is there is some data in your SQL Server table with single quote.that's why ORACLE is raising and issue.
Check the data in the table (SQL Server database).
Thanks
Pavan Kumar N
Message was edited by:
Pavan Kumar

Similar Messages

  • Can you import local tables into Oracle to query in Discoverer?

    long time lurker, first time poster...
    I've got a local list in excel of over 100k records. I want to bounce this list off our network's data in Oracle to add a few fields to my file. Is there a way to import the local list into Oracle (like I might using MS Access) so that I can query the data using Discoverer, and output my local list with the additional data I pull out of Oracle? Thanks so much for any assistance!

    Hi,
    Create an external table in the database that points to the excel workbook then you will be able to query the excel workbook like any other table in Discoverer. You will need to create a database directory which points to the directory containing the excel workbook. You will also have to save the workbook in a csv format. But once that is set up you will be able to make changes in the excel workbook save them, then refresh the Discoverer workbook and immediately see the changed data in Discoverer.
    Rod West

  • Export Table in Oracle 9i

    Hi,
    I have created a clone database using cold backup from my production DB.
    when i run export command, it gives following error...
    C:\>EXP devuser/password@devdb file=D:\Event.dmp log=eventexp.log tables=event rows=yes grants=y constraints=y consistent=y compress=y
    Export: Release 9.2.0.1.0 - Production on Thu Jan 4 14:44:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EVENT
    EXP-00003: no storage definition found for segment(12, 2195)
    Export terminated successfully with warnings.
    *** The export works successfully for other database which created while installing oracle server. ***
    C:\>EXP devuser/password@myoracle file=D:\computer.dmp log=eventexp.log tables=computers rows=yes grants=y constraints=y consistent=y compress=y
    Export: Release 9.2.0.1.0 - Production on Thu Jan 4 14:42:00 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table COMPUTERS 45 rows exported
    Export terminated successfully without warnings.
    It says about character set... how do i change it? where do i change it?
    any hint?
    thanks in advance.

    hi,
    What is your OS where you export data and you getting error.
    before export you can set NLS_LANG with your database character set.
    you can check character set
    SQL> select * from nls_database_parameters    where parameter in ('NLS_LANGUAGE'
    , 'NLS_TERRITORY', 'NLS_CHARACTERSET')
      2  /
    PARAMETER                      VALUE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CHARACTERSET WE8MSWIN1252according your character set first set and export you data.
    regards
    Taj

  • Unable to insert rows into ORACLE database using ABAP code

    Hai,
    I am facing problem while creating a table in Oracle database with 15 attributes in a table. To create a table I am using the classes:
                      cl_sql_connection  -
    > to create the connection           
                      cl_sql_statement  -
    > to execute the query
    This I used by reffering the SAP program ADBC_DEMO. Without any trouble I am able to create a Table with 6 attributes by following the same procedure in ABCD_DEMO program but the same is not working for the table with 15 attributes .
    Please help me.
    Regards,
    Swetha

    Hai,
    here is my code.
    DATA: V_con_name TYPE dbcon-con_name,
          con_ref TYPE REF TO cl_sql_connection,
          sqlerr_ref TYPE REF TO cx_sql_exception,
          c_tabname  TYPE string VALUE `TO_DETAILS`,
          c_coldefs  TYPE string.
    DATA: IT_ORA LIKE ZVOP_X_ORA_UPDATE OCCURS 0 WITH HEADER LINE.
       V_CON_NAME = 'TVL-DSS-01'.
       concatenate '(LGNUM CHAR(3) primary key,'
                     'TANUM VARCHAR2(10),'
                     'FLAG  CHAR(1),'
                     'BDATU timestamp(3),'
                     'TAPOS VARCHAR2(4),'
                     'MATNR CHAR(18))'
                      'VLQNR VARCHAR2(10),'
                      'VLPLA CHAR(10),'
                      'VLBER CHAR(3),'
                      'NLPLA CHAR(10),'
                      'NLBER CHAR(3),'
                      'VDATE DATE(3) ,'
                      'BNAME CHAR(12),'
                      'VTIME DATE(4),'
                      'PROTYPEFLAG CHAR(1),'
                      'PROCOMFLAG  CHAR(1))'
                into c_coldefs separated by space  .
      TRY.
        PERFORM: CONNECT USING V_CON_NAME CON_REF,
                 CREATE_TABLE USING con_ref c_tabname c_coldefs.
          CATCH cx_sql_exception INTO sqlerr_ref.
            TB_ERROR-MESSAGE = SQLERR_REF->SQL_MESSAGE.
            APPEND TB_ERROR. CLEAR TB_ERROR.
    ENDTRY.
    form create
    form CONNECT using   p_con_name TYPE dbcon-con_name
                         p_con_ref  TYPE REF TO cl_sql_connection
                 RAISING cx_sql_exception.
      p_con_ref = cl_sql_connection=>get_connection( p_con_name ).
    endform.                    " CONNECT
    form create
    form   CREATE_TABLE USING   p_con_ref TYPE REF TO cl_sql_connection
                              p_tabname TYPE string
                              p_coldefs TYPE string
                      RAISING cx_sql_exception.
       DATA:
            l_sqlerr_ref TYPE REF TO cx_sql_exception,
            l_stmt       TYPE string,
            l_stmt_ref   TYPE REF TO cl_sql_statement.
    create a statement object
       l_stmt_ref = p_con_ref->create_statement( ).
    create the statement string
       CONCATENATE
         'create table' p_tabname p_coldefs
         INTO l_stmt SEPARATED BY space.
    execute the DDL command; catch the exception in order to handle the
    case if the table already exists
        TRY.
          l_stmt_ref->execute_ddl( l_stmt ).
        CATCH cx_sql_exception INTO l_sqlerr_ref.
          IF l_sqlerr_ref->dbobject_exists = 'X'
             OR l_sqlerr_ref->internal_error = 1024.
          table already exists => drop it and try it again
            PERFORM:
              drop_table   USING p_con_ref p_tabname,
              create_table USING p_con_ref p_tabname p_coldefs.
          ELSE.
            RAISE EXCEPTION l_sqlerr_ref.
          ENDIF.
      ENDTRY.
    endform.                    " CREATE_TABLE
    please do help me
    Regards,
    Swetha

  • How to register External table into Oracle APPS?

    hi
    can we register the External table in Oracle apps like SQL Loader?
    So if yes, please share the steps.
    Thx

    781261 wrote:
    okk..
    But i mean , we create Executable with Method type SQL Loader, to register in Oracle APPS.
    SO like what would be Executable Method for External Table?
    or can we call the External table in Procedure?
    ThanxI don't know oracle APPS (and this isn't the APPS forum), but an external table is just like another table. It's created once and then used by queries to fetch data. You would reference it in your applications just the same as you would any other table.

  • Unable to create table in Oracle EX 11g

    I am new user without any background to Db or SQL. Recently I have installed Orale EX 11g and was trying to create new tables using script menu. Please guide me further as I am unable to do it. Error is Invalid Identifier.

    I have installed Orale EX 11g and was trying to create new tables using script menu.
    Which "script menu" ? How can we help you if we don't know what you're doing exactly ?
    And please post the exact Oracle error code you get ("Invalid Identifier" is too generic).

  • Unable to register XSD into Oracle using trigger / procedure

    Hi,
    I am using Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production.
    I have a table which stores XSD and i need to register this XSD. I am able to register the XSD if dbms_schema is executed from PLSQL anonymous block. But if i mention the same code in trigger / procedure is not working . Getting the error as insufficient privileges.
    Table, trigger and procedure are in same schema. This schema has all the privs required for XSD registration globally.
    create table t_vkk ( n number, xsd xmltype)
    alter table t_vkk add active varchar2(1)
    create sequence seq_vkk start with 1 increment by 1
    CREATE OR REPLACE TRIGGER TRG_t_vkk_xsd
    AFTER INSERT OR UPDATE
    ON t_vkk
    REFERENCING OLD AS old NEW AS new
    FOR EACH ROW
    BEGIN
    IF INSERTING AND :new.active = 'Y'
    THEN
    prc_reg_xsd(:new.n, :new.xsd);
    END IF;
    -- Applied when updating rows in the table
    IF UPDATING
    THEN
    IF :new.active = 'Y' -- XSD re-registration since template id is still active
    THEN
    prc_reg_xsd(:old.n, :old.xsd);
    ELSIF :new.active = 'N' -- XSD de-registration
    THEN
    BEGIN
    dbms_xmlschema.deleteschema (
    schemaurl => :old.n
    , delete_option => dbms_xmlschema.delete_cascade_force
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL; -- This XSD was not registered
    END;
    END IF;
    END IF;
    END TRG_t_vkk_xsd;
    This fails -
    insert into t_vkk
    values (0,XMLTYPE(
    '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:books" xmlns:bks="urn:books">
    <xsd:element name="books" type="bks:BooksForm"/>
    <xsd:complexType name="BooksForm">
    <xsd:sequence>
    <xsd:element name="book" type="bks:BookForm" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="BookForm">
    <xsd:sequence>
    <xsd:element name="author" type="xsd:string"/>
    <xsd:element name="title" type="xsd:string"/>
    <xsd:element name="genre" type="xsd:string"/>
    <xsd:element name="price" type="xsd:float"/>
    <xsd:element name="pub_date" type="xsd:date"/>
    <xsd:element name="review" type="xsd:string"/>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:string"/>
    </xsd:complexType>
    </xsd:schema>'
    ), 'Y')
    This works :
    After inserting the record into t_vkk (Trigger is disabled)
    declare
    begin
    for x in (select * from t_vkk)
    loop
    dbms_output.put_line (x.xsd.getstringval());
    BEGIN
    dbms_xmlschema.deleteschema (
    schemaurl => x.n
    , delete_option => dbms_xmlschema.delete_cascade_force
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL; -- This XSD was not registered
    END;
    dbms_xmlschema.registerschema (schemaurl => x.n
    , schemadoc => x.xsd
    , local => false);
    end loop;
    end;
    This Fails:
    create or replace procedure prc_reg_xsd
    as
    begin
    for x IN (select * from t_vkk)
    loop
    BEGIN
    dbms_xmlschema.deleteschema (
    schemaurl => x.n
    , delete_option => dbms_xmlschema.delete_cascade_force
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL; -- This XSD was not registered
    END;
    dbms_xmlschema.registerschema (schemaurl => x.n
    , schemadoc => x.xsd
    , local => false);
    end loop;
    end;
    BEGIN
    prc_reg_xsd;
    END;
    -Vinod K

    Thanks everyone. I got the solution from one of my colleague. I can invoke dbms_xmlschema.registerschema through my standalone procedure by using current_user authid.
    create or replace procedure prc_reg_xsd
    (in_id IN NUMBER
    , in_xsd IN XMLTYPE)
    authid current_user
    as
    begin
    dbms_output.put_line (' startd');
    BEGIN
    dbms_xmlschema.deleteschema (
    schemaurl => in_id
    , delete_option => dbms_xmlschema.delete_cascade_force
    EXCEPTION
    WHEN OTHERS
    THEN
    dbms_output.put_line (' Failed'); -- This XSD was not registered
    END;
    dbms_xmlschema.registerschema (schemaurl => in_id
    , schemadoc => in_xsd
    , local => false);
    dbms_output.put_line (' done');
    end;
    DECLARE
    x number:=9;
    t xmltype := XMLTYPE(
    '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:books" xmlns:bks="urn:books">
    <xsd:element name="books" type="bks:BooksForm"/>
    <xsd:complexType name="BooksForm">
    <xsd:sequence>
    <xsd:element name="book" type="bks:BookForm" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="BookForm">
    <xsd:sequence>
    <xsd:element name="author" type="xsd:string"/>
    <xsd:element name="title" type="xsd:string"/>
    <xsd:element name="genre" type="xsd:string"/>
    <xsd:element name="price" type="xsd:float"/>
    <xsd:element name="pub_date" type="xsd:date"/>
    <xsd:element name="review" type="xsd:string"/>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:string"/>
    </xsd:complexType>
    </xsd:schema>');
    BEGIN
    prc_reg_xsd(x,t);
    END;
    This worked for me. The procedure is in the same schema which has XDBADMIN role. So i am able to register the XSD.
    Vinod

  • Unable to backup tables in Oracle 10g

    hi,
    I am faced with the following error when trying to take backup:
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - ERROR: Wrong password for user
    Export: Export Type
    Even i tried with SYS user.

    Hi,
    Do you talking about OEM Database Console ?
    On the Export Type page, select the type of export you want to perform. You can select Database, Schema, or Table and then enter credentials in the[b] Host Username and Host Password fields.
    Cheers

  • Unable to view tables in Oracle BI Answers

    Hi,
    I am able to view my subject area in Oracle BI Answers, but the tables aren't displaying. Also the tabs arent functioning. I was able to view the data in my repository and there is no error. What might be the problem for this?
    We uninstalled obiee and installed it again. Do i need to configure anything?
    Ideas please!
    Thanks,
    Princy

    Hi,
    Thanks for your replies. My repository has all the layers completely. I have also placed the folders in correct path. Still the same problem exists. For "samplesales' too the subject area was displaying in Oracle BI Answers,but the menus aren't working. Whether i need to install it once again or am i going wrong elsewhere...
    Help please!
    Thanks,
    Princy
    Edited by: user13049743 on Jun 15, 2010 8:37 PM

  • How to export sql server 2000 into oracle intergrally?

    1.environment:
    sql server 200 - character set: CHINESE_PRC_CI_AS
    tables :include ntext field (I think it equals clob)
    support english,simple chinese character.
    oracle 9i - character set :NLS_LANG=AMERICAN_AMERICA.US7ASCII
    2. aim
    export sql server objects(main is tables) into oracle intergrally
    3.question:
    3.1 the field which includes chinese data,after exporting,displays "????" code.
    3.2 how to export sql ntext field into oracle?
    thanks a lot

    You need to setup your Oracle Database use character set that support Chinesre Character. For example a unicode character set AL16UTF16.
    More information her
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/ch6unicode.htm#i1006691
    Also consider use Oracle Migration Workbench to transfer SQL Server Data
    http://www.oracle.com/technology/tech/migration/workbench/files/mig_rel10104.html

  • Unable to import table or columns in OBIEE 11G RPD

    Hi All,
    We are unable to import table into the RPD using OCI 10G/11G to import the table then the import box open but we are unable to see the tables below the schema name. When we use ODBC 3.5 and created a DSN for the database then we are able to see all the tables and import them. But the problem here is that when we are using window server 7 64 bit to install client and then importing the table ODBC is not working fine as well.
    Please note that we are using OBIEE 11G which is installed on unix box and we connect to RPD using client installed on windows server.
    Appreciate all the help in advance.
    Thanks,
    Mohit

    Hi Sayak,
    This means we need to installed Oracle client to resolve this problem. Can you please share if you have some knowledge regarding the same.
    Thanks,
    Mohit

  • Migrating SAP BW into Oracle data model

    We have a requirement where the exisiting data from SAP BW needs to be migrated into Oracle. Since I do not have any prior SAP BW experience, I wanted to ask the forum on what their thoughts are in converting the data model from SAP BW into Oracle. Would that be straight forward conversion for the fact and dimension tables into Oracle or are there certain things we need keep in mind while designing the data model in Oracle. For ex: indexes, keys, attributes etc if they are handled any differently between the two systems.

    Hi
    ERwin will not give you the functionality to derive the logical data model from SAP BW automatically, however Saphir from Silwood Technology (www.silwoodtechnology.com) does allow you to extract the detailed metadata from the SAP BW system ( as well as from other major standard or customised ERP applications - SAP itself, Oracle, Siebel, Peoplesoft and JD Edwards). Once this information is brought into its own repository, Saphir provides a range of powerful search and view capabilities to allow you to isolate the data you are interested in and then export that information to ERwin (or any other leading Modeling tool).
    Saphir will provide you with details of the relationships and detailed definitions within SAP BW.
    Hope this helps
    Roland

  • Export Table in Delimited Format

    Hi Experts
    I would like to export table into text file using delimited format (eg.. using "~" symbol). How can i do that, because i need that table data in text file for another process.
    Can you help me please....

    Common SQL*Plus settingd for spooling:
    SET TERM OFF
    SET LINESIZE 148
    SET TRIMS ON
    SET HEADING OFF
    SET ECHO OFF
    SET FEEDBACK OFF
    SET PAGESIZE 0
    SET SPACE 0
    SET TIMING OFF
    SET TRIMS ON - this will trim the rightmost columns of your record.

  • How to copy sql database tables to oracle database

    hii everybody,
    i have 50 sql databse tables and i want to copy these tables into oracle database,how can i achive this?.Any help highly appreciated.
    thanks.

    Hi,
    You haven't said if this is a one-off copy of the data or if it is comething you want to do on a regular basis.
    If it is a one-off move of the data then you could use the SQL*Developer migration workbench, see here for more details -
    SQL*Developer main page -
    http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Database Migration technology -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    If it is something you want to do on a regular basis then you could use a gateway to make a connection between SQL*Server and Oracle and then copy or select from the remote tables.
    The following page has more detail -
    http://www.oracle.com/technetwork/database/gateways/index.html
    and this note if you have access to My Oracle Support -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    You could also use GoldenGate which allows real-time replication between Oracle and non-Oracle databases -
    http://www.oracle.com/technetwork/middleware/goldengate/overview/index.html
    Regards,
    Mike

  • Convhow to erting MySQL database into oracle Database

    Hi,
    how to import/convert MySQL database/tables into oracle database/table.
    i need SQL code or any import wizard technique.
    Thnxz

    Please refer:
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html

Maybe you are looking for

  • Can not delete Twitter mentions from the Hub

    Can not delete Twitter mentions from the Hub. When I delete, they reappear in a few minutes.

  • Can't change the phone number that appears on the front screen

    My phone used to belong to my mom and I had it unlocked so I could use it overseas.  However, her phone number still shows up on the front screen even though I've had 2 different sim cards in it, each with their own number.  How do I change it to my

  • Active employee list

    What is the best way to create an employee directory in Sharepoint 2010 that would display a list of all active employees and also have the ability to: - display the photo of each employee - allow creation of "views" of the list, e.g. only show emplo

  • SAP IDM - GRC Integration Scenario Query

    Hello Experts I want to understand if the following scenario is possible or not. Or if any alternate is available. Please share your thoughts.. Current Situation: SAP IDM 7.2, SP9, Patch 11, in use with SAP Provisioning Framework 2 and GRC Provisioni

  • Hide/Show the items in form

    Hi all, I am having one form in oracle apex3.1 and having some form elements like below. ================================ NAme : textbox job : radio botton with (freshor,experieced) year of experience : tx if i select the experienced from job radio ,