How to import Data (For Dummies) into a table

I have a excel spreadsheet that is an export of an oracle database table. I want to now import that data into another Oracle Database (same table and format). What is the best way to do that. Someone told me t ouse SQL*Loader, but that is not as straightforward as I had hoped. I tried to use access, but I got an invalid argument on one attempt, and a Reserved Error (-2007) on another attempt.
Any help would be appreciated.

Now it seemed to run w/o the INSERT error this time, but now when I look at the log, i see the following errors:
SQL*Loader: Release 9.2.0.1.0 - Production on Tue Jun 27 10:29:01 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Control File: sqlloader-ctrl.ctl
Data File: import.txt
Bad File: import.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table INQUIRIES, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
INQUIRYID FIRST * WHT O(") CHARACTER
PERSONID NEXT * WHT O(") CHARACTER
FIRSTNAME NEXT * WHT O(") CHARACTER
LASTNAME NEXT * WHT O(") CHARACTER
ADDRESS1 NEXT * WHT O(") CHARACTER
ADDRESS2 NEXT * WHT O(") CHARACTER
ADDRESS3 NEXT * WHT O(") CHARACTER
CITY NEXT * WHT O(") CHARACTER
STATE NEXT * WHT O(") CHARACTER
ZIPCODE NEXT * WHT O(") CHARACTER
COUNTRY NEXT * WHT O(") CHARACTER
SEX NEXT * WHT O(") CHARACTER
MATRICDATE NEXT * WHT O(") CHARACTER
DEGREEPROGRAM NEXT * WHT O(") CHARACTER
PACKETCODE NEXT * WHT O(") CHARACTER
SOURCECODE NEXT * WHT O(") CHARACTER
NONUS NEXT * WHT O(") CHARACTER
DUPLICATE NEXT * WHT O(") CHARACTER
EMAIL NEXT * WHT O(") CHARACTER
INQUIRYDATE NEXT * WHT O(") CHARACTER
NOTES NEXT * WHT O(") CHARACTER
GOODCANDIDATE NEXT * WHT O(") CHARACTER
POSTED NEXT * WHT O(") CHARACTER
LABELPRINTED NEXT * WHT O(") CHARACTER
PHONE NEXT * WHT O(") CHARACTER
PERMANENTRESIDENCE NEXT * WHT O(") CHARACTER
LABELPRINTDATE NEXT * WHT O(") CHARACTER
LASTMODIFIED NEXT * WHT O(") CHARACTER
MODIFYINGUSER NEXT * WHT O(") CHARACTER
APPRECEIVED NEXT * WHT O(") CHARACTER
INTERVIEWED NEXT * WHT O(") CHARACTER
INTERVIEWEDDATESCHEDULED NEXT * WHT O(") CHARACTER
INTERVIEWEDDATE NEXT * WHT O(") CHARACTER
INTERVIEWEDBY NEXT * WHT O(") CHARACTER
INTERVIEWEDRATING NEXT * WHT O(") CHARACTER
DUALDEGREE NEXT * WHT O(") CHARACTER
Record 1: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 2: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 3: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 4: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 5: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 6: Rejected - Error on table INQUIRIES, column MODIFYINGUSER.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 7: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 8: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 9: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 10: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 11: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 12: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 13: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 14: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 15: Rejected - Error on table INQUIRIES, column PERMANENTRESIDENCE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 16: Rejected - Error on table INQUIRIES, column PHONE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 17: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 18: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 19: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 20: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 21: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 22: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 23: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 24: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 25: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 26: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 27: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 28: Rejected - Error on table INQUIRIES, column MODIFYINGUSER.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 29: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 30: Rejected - Error on table INQUIRIES, column MODIFYINGUSER.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 31: Rejected - Error on table INQUIRIES, column MODIFYINGUSER.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 32: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 33: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 34: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 35: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 36: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 37: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 38: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 39: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 40: Rejected - Error on table INQUIRIES, column MODIFYINGUSER.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 41: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 42: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 43: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 44: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 45: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 46: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 47: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 48: Rejected - Error on table INQUIRIES, column LASTMODIFIED.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 49: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 50: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 51: Rejected - Error on table INQUIRIES, column LABELPRINTDATE.
Column not found before end of logical record (use TRAILING NULLCOLS)
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table INQUIRIES:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 250776 bytes(27 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 51
Total logical records rejected: 51
Total logical records discarded: 0
Run began on Tue Jun 27 10:29:01 2006
Run ended on Tue Jun 27 10:29:01 2006
Elapsed time was: 00:00:00.21
CPU time was: 00:00:00.05
So now i need to do some google searching to see what those erros mean...... ahh the life of IT... ya gotta love it

Similar Messages

  • How can I import data using .dmp into the table which has more columns then in import

    I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
    Any solutions ?

    That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..

  • How to transfer data of RFC into Internal Table inside a WD4A program?

    Hi Experts,
    I have created WD4A program. This program calls RFC. The output of RFC has to populate  a UI table. THe different cells of the table should have different color based on data.
    I have gone through following link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/707fb792-c181-2d10-61bd-ce15d58b5cf1
    The above link fetches data from directly from table. Then it passes the data into internal table.
    If I am using RFC, then how I can insert data of RFC into a internal table in WD4A program (se80 In drop down Web Dynpro Comp / Intf)
    My motto is to have table ouput whose different cells should have different color based on data.
    Please help.
    Regards,
    Gary
    Edited by: Jason Lax on Dec 28, 2011 2:52 PM (Fixed broken link)

    Hi Experts,
    I have resolved the issue. I have created WD4A program. This WD4A program calls the RFC.
    The RFC has a structure as export parameters called 'RESULT_FINAL'. I have altered the associated type of this table export parameter. I added Component 'Color' of component type 'WDUI_TABLE_CELL_DESIGN'.
    In the RFC I have added some code. The code is as below:
    loop  at it_t1.
          select pernr from pa0000 into table it_t2 where  pernr = it_t1-pernr  and stat2 ='3'
          and begda <= sy-datum AND endda >= sy-datum.
          if sy-subrc = 0.
            result_final-org_unit = result_objec-objid.
            result_final-pernr = it_t1-pernr.
            result_final-name = it_t1-name.
            result_final-color = '02'.       append result_final.
          endif.
        endloop.
    The line   result_final-color = '02'.   
    code returns Color.
    In the WD4A program, I have changed the Cell Design property of selected table coloumn to Color.
    This resolved the issue.
    Thanks every one for the reply.
    I have added above information for other SDN users.
    I am closing this thread,
    Regards,
    Gary

  • How and put data frrom DB into JFrame.tables ?

    hello,
    I tried to get rows from a DB into a table. Therefore I created a class(A) with a function(a1) throws SQLException. Connect and select rows from the DB runs perfectly. Now I want to put this data into a table. I created another class(B) extends JFrame with an inner class(icB1) extends AbstractTableModel. From here I tried call A.a1 to get the rows but
    1. the return type should be StringArray, how should i declare a function returning type stringarray and
    2. I tried to put the data into a String, so that the return value is String(Iwould try sort the data after returning values) like
    " icB1 extends AbstractTableModel { A.a1(); }" then i get the error msg: "java.sql.SQLException; must caught or declared to be thrown". Then i tried with this: " try { statement } catch { statement }" but it also doesnt func .. So how put I data from a DB into a table ? the main idea is to show and manage DB tables from the web. Many Thanks
    regards erkan

    Hi Erkan
    Here's parts of a simple tutorial style app that shows how to easily get data from a DB into a table. Note that the code is incomplete and may have typos.
    public class SQLHandler {
      public List getData(String sql, List headers) {
        List result = new ArrayList();
        ResultSet rs = connection.executeQuery(sql);
        // Get column details
        ResultSetMetaData rsmd = rs.getMetaData();
        int columns = rsmd.getColumnCount();
        for (int i=0;i<columns;i++) {
          headers.add(rsmd.getColumnLabel(i+1));
        while(rs.next()) {
          Object array = new Object[columns];
          for(int i=0;i<columns;i++) {
            array[i] = rs.getObject(i+1); 
          list.add(array):
        return result;
    public class SQLDataTableModel implements AbstractTableModel {
      private List data;
      private List headers = new ArrayList();
      public SQLDataTableModel(String sql) {
         data = sqlHandler.getData(sql,headers);
      // abstract methods
      public int getRowCount() {
        return list.size();
      public int getColumnCount() {
        return headers.size();
      public Object getValueAt(int row, int column) {
        Object[] array = data.get(row);
        return array[column];
    // Create JTable and assign a model
    JTable table = new JTable();
    table.setModel( new SQLDataTableModel("select * from table")):cheers
    Dave

  • How to read data and load into a table

    Hi,
    I have a client requirement as below.
    Client will send the xmlpayload, based on this xml I want to read the data and store it into a database table. Could you please let me know how to achieve this functionality.
    sample xmlpayload:
    <gesws:localeAndSend xmlns:gesws="https://services.gmail.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://services.gmail.com docs/xsd/localeandsend.xsd" schemaVersion="1.0">
    <gesws:localer>
    <gesws:divisionstate>localeD</gesws:divisionstate>
    <gesws:division>Retail</gesws:division>
    <gesws:attributes>
    <gesws:attribute>
    <gesws:name>email</gesws:name>
    <gesws:value>[email protected]</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>firstName</gesws:name>
    <gesws:value>Robin</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>lastName</gesws:name>
    <gesws:value>Dan</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>postalCode</gesws:name>
    <gesws:value>56302</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>Mobileapp</gesws:name>
    <gesws:value>-6</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>CodedString</gesws:name>
    <gesws:value>1550</gesws:value>
    </gesws:attribute>
    <gesws:attribute>
    <gesws:name>CodedBoolean</gesws:name>
    <gesws:value>true</gesws:value>
    </gesws:attribute>
    </gesws:attributes>
    </gesws:localer>
    <gesws:localerMessage>
    <gesws:mId>120098</gesws:mId>
    </gesws:localerMessage>
    </gesws:localeAndSend>
    Thanks in advance

    You can use XMLTABLE to extract data from your XMLTYPE datatype...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select xmltype('<gesws:localeAndSend xmlns:gesws="https://services.gmail.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      2  xsi:schemaLocation="https://services.gmail.com docs/xsd/localeandsend.xsd" schemaVersion="1.0">
      3    <gesws:localer>
      4      <gesws:divisionstate>localeD</gesws:divisionstate>
      5      <gesws:division>Retail</gesws:division>
      6      <gesws:attributes>
      7        <gesws:attribute>
      8          <gesws:name>email</gesws:name>
      9          <gesws:value>[email protected]</gesws:value>
    10        </gesws:attribute>
    11        <gesws:attribute>
    12          <gesws:name>firstName</gesws:name>
    13          <gesws:value>Robin</gesws:value>
    14        </gesws:attribute>
    15        <gesws:attribute>
    16          <gesws:name>lastName</gesws:name>
    17          <gesws:value>Dan</gesws:value>
    18        </gesws:attribute>
    19        <gesws:attribute>
    20          <gesws:name>postalCode</gesws:name>
    21          <gesws:value>56302</gesws:value>
    22        </gesws:attribute>
    23        <gesws:attribute>
    24          <gesws:name>Mobileapp</gesws:name>
    25          <gesws:value>-6</gesws:value>
    26        </gesws:attribute>
    27        <gesws:attribute>
    28          <gesws:name>CodedString</gesws:name>
    29          <gesws:value>1550</gesws:value>
    30        </gesws:attribute>
    31        <gesws:attribute>
    32          <gesws:name>CodedBoolean</gesws:name>
    33          <gesws:value>true</gesws:value>
    34        </gesws:attribute>
    35      </gesws:attributes>
    36    </gesws:localer>
    37    <gesws:localerMessage>
    38      <gesws:mId>120098</gesws:mId>
    39    </gesws:localerMessage>
    40  </gesws:localeAndSend>') as xml from dual)
    41  --
    42  -- end of test data
    43  --
    44  select x.mID, x.divisionstate, x.division
    45        ,y.att_name, y.att_val
    46  from   t
    47        ,xmltable(xmlnamespaces('https://services.gmail.com' as "g")
    48                 ,'g:localeAndSend'
    49                 passing t.xml
    50                 columns mID           number       path './g:localerMessage/g:mId'
    51                        ,divisionstate varchar2(10) path './g:localer/g:divisionstate'
    52                        ,division      varchar2(10) path './g:localer/g:division'
    53                        ,atts          xmltype      path './g:localer/g:attributes'
    54                 ) x
    55        ,xmltable(xmlnamespaces('https://services.gmail.com' as "g")
    56                 ,'g:attributes/g:attribute'
    57                 passing x.atts
    58                 columns att_name      varchar2(20) path './g:name'
    59                        ,att_val       varchar2(20) path './g:value'
    60*                ) y
    SQL> /
           MID DIVISIONST DIVISION   ATT_NAME             ATT_VAL
        120098 localeD    Retail     email                [email protected]
        120098 localeD    Retail     firstName            Robin
        120098 localeD    Retail     lastName             Dan
        120098 localeD    Retail     postalCode           56302
        120098 localeD    Retail     Mobileapp            -6
        120098 localeD    Retail     CodedString          1550
        120098 localeD    Retail     CodedBoolean         true
    7 rows selected.
    SQL>Once you're getting the data out, you can do what you want with it, e.g. pivot it to a single row...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select xmltype('<gesws:localeAndSend xmlns:gesws="https://services.gmail.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      2  xsi:schemaLocation="https://services.gmail.com docs/xsd/localeandsend.xsd" schemaVersion="1.0">
      3    <gesws:localer>
      4      <gesws:divisionstate>localeD</gesws:divisionstate>
      5      <gesws:division>Retail</gesws:division>
      6      <gesws:attributes>
      7        <gesws:attribute>
      8          <gesws:name>email</gesws:name>
      9          <gesws:value>[email protected]</gesws:value>
    10        </gesws:attribute>
    11        <gesws:attribute>
    12          <gesws:name>firstName</gesws:name>
    13          <gesws:value>Robin</gesws:value>
    14        </gesws:attribute>
    15        <gesws:attribute>
    16          <gesws:name>lastName</gesws:name>
    17          <gesws:value>Dan</gesws:value>
    18        </gesws:attribute>
    19        <gesws:attribute>
    20          <gesws:name>postalCode</gesws:name>
    21          <gesws:value>56302</gesws:value>
    22        </gesws:attribute>
    23        <gesws:attribute>
    24          <gesws:name>Mobileapp</gesws:name>
    25          <gesws:value>-6</gesws:value>
    26        </gesws:attribute>
    27        <gesws:attribute>
    28          <gesws:name>CodedString</gesws:name>
    29          <gesws:value>1550</gesws:value>
    30        </gesws:attribute>
    31        <gesws:attribute>
    32          <gesws:name>CodedBoolean</gesws:name>
    33          <gesws:value>true</gesws:value>
    34        </gesws:attribute>
    35      </gesws:attributes>
    36    </gesws:localer>
    37    <gesws:localerMessage>
    38      <gesws:mId>120098</gesws:mId>
    39    </gesws:localerMessage>
    40  </gesws:localeAndSend>') as xml from dual)
    41  --
    42  -- end of test data
    43  --
    44  select mID, divisionstate, division
    45        ,max(decode(att_name, 'email', att_val)) as email
    46        ,max(decode(att_name, 'firstName', att_val)) as firstname
    47        ,max(decode(att_name, 'lastName', att_val)) as lastname
    48        ,max(decode(att_name, 'postalCode', att_val)) as postalcode
    49        ,max(decode(att_name, 'CodedString', att_val)) as codedstring
    50        ,max(decode(att_name, 'CodedBoolean', att_val)) as codedboolean
    51  from (
    52        select x.mID, x.divisionstate, x.division
    53              ,y.att_name, y.att_val
    54        from   t
    55              ,xmltable(xmlnamespaces('https://services.gmail.com' as "g")
    56                       ,'g:localeAndSend'
    57                       passing t.xml
    58                       columns mID           number       path './g:localerMessage/g:mId'
    59                              ,divisionstate varchar2(10) path './g:localer/g:divisionstate'
    60                              ,division      varchar2(10) path './g:localer/g:division'
    61                              ,atts          xmltype      path './g:localer/g:attributes'
    62                       ) x
    63              ,xmltable(xmlnamespaces('https://services.gmail.com' as "g")
    64                       ,'g:attributes/g:attribute'
    65                       passing x.atts
    66                       columns att_name      varchar2(20) path './g:name'
    67                              ,att_val       varchar2(20) path './g:value'
    68                       ) y
    69       )
    70  group by mID, divisionstate, division
    71* order by 1
    SQL> /
           MID DIVISIONST DIVISION   EMAIL                FIRSTNAME            LASTNAME             POSTALCODE           CODEDSTRING          CODEDBOOLEAN
        120098 localeD    Retail     [email protected]    Robin                Dan                  56302                1550                 true

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • : how can I import mp3s from my gmail account into my iTunes application so that I can import audio for recording into GarageBand ?

    : how can I import mp3s from my gmail account into my iTunes application so that I can import audio for recording into GarageBand ?

    Save the file from Gmail onto your computer and add it to iTunes.  How you save from Gmail is a Gmail question (their own support pages), not an iTunes question.

  • How to import data into TimesTen from Oracle

    I want to import data from Oracle into TimesTen,but not found tools provided by TimesTen. I hope TimesTen may convert Oracle's dump file(exp).
    thanks for your suggest.

    TimesTen cannot read Oracle's data pump export files.
    If you are using Cache Groups to cache Oracle tables into TimesTen, then the LOAD CACHE GROUP statement will automatically load the data from Oracle into TimesTen for you.
    If you are using TimesTen as a standalone database, then you can SPOOL out the Oracle table data into text files, and use them as data files to feed the TimesTen ttbulkcp command line utility. ttbulkcp is similar to SQL*Loader except it handles both import and export of data.
    For example, the following command dumps the contents of the table foo from a TimesTen database mydb into a file called foo.dump.
    ttbulkcp -o dsn=mydb foo foo.dump
    The file foo.dump will give you an example of what the default ttbulkcp dump file format looks like. You can then generate a new dump file based on the above, but populate it using the data from Oracle.
    The following command loads the rows listed in file foo.dump into a table called foo in database mydb, placing any error messages into the log file foo.err.
    ttbulkcp -i -e foo.err dsn=mydb foo foo.dump
    For more information on the ttbulkcp utility you can refer to the Oracle TimesTen API Reference Guide.
    You can also use SQL Developer to export data from Oracle table into ttbulkcp file format, via the Export Data option. Please note that this option is meant for small tables say with a few thousand rows, exporting large tables can be slow in SQL Developer and could require a lot of client side memory.

  • HOW TO IMPORT DATA MORE THAN ONCE FROM THE SAME EXPORT DUMP FILE?

    before asking my question i'd like to mention that i'm a french spoke...
    so my english is a little bit bad. sorry for that.
    my problem is : IMPORT
    how to import data a SECOND TIME from an export dump file within oracle?
    My Export dump file was made successfully (Full Export) and then i
    tried to import datas for the first time.
    I got this following message in my logfile: I ADDED SOME COMMENTS
    Warning: the objects were exported by L1, not by you
    . importing SYSTEM's objects into SYSTEM
    REM ************** CREATING TABLESPACES *****
    REM *********************************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
    "ZE 3145728 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAX"
    "EXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "ROLLBACK_DATA" DATAFILE 'E:\ORANT\DATABASE\RBS1ORCL.ORA"
    "' SIZE 10485760 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS "
    "1 MAXEXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    etc........
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "L1" DATAFILE 'E:\ORADATA\L1.DBF' SIZE 1048576000 "
    "DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 121 PCTIN"
    "CREASE 50) ONLINE PERMANENT"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file 'E:\ORADATA\L1.DBF'
    ORA-09200: sfccf: error creating file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified
    --->etc..........
    the drive E: with the folder E:\ORADATA didn't exist, but after
    all that i created it.
    see below, before my IMPORT statement
    REM ********************* CREATING USER *********
    REM ********************************************
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "L1" IDENTIFIED BY VALUES 'A6E0DAA6865E7627' DEFAULT TABLESPACE"
    " "L1" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'L1' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "MLCO" IDENTIFIED BY VALUES '56AC6447B7D50467' DEFAULT TABLESPA"
    "CE "MLCO" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'MLCO' does not exist
    ETC.......
    REM ********************* GRANTING ROLES ***********
    REM ************************************************
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT ALTER ANY TABLE to "L1" "
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'L1' does not exist
    ETC.........
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "L1" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'L1' does not exist
    -- that is normal, since the creation of the
    tablespace failed !!
    REM******************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLLBACK SEGMENT RB_TEMP STORAGE (INITIAL 10240 NEXT 10240 MINEXTENT"
    "S 2 MAXEXTENTS 121) TABLESPACE "SYSTEM""
    IMP-00015: following statement failed because
    . importing SCOTT's objects into SCOTT
    IMP-00015: following statement failed because the object already exists:
    "CREATE SEQUENCE "EVT_PROFILE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999"
    "999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE"
    ETC............
    importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    REM *************** IMPORTING TABLES *******************
    REM ****************************************************
    . importing SYSTEM's objects into SYSTEM
    . . importing table "AN1999_BDAT" 243 rows imported
    . . importing table "BOPD" 112 rows imported
    . . importing table "BOINFO_AP" 49
    ETC................
    . . importing table "BO_WHF" 2 rows imported
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLE "DEF$_CALL" ("DEFERRED_TRAN_DB" VARCHAR2(128),
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ROLES" FOR "SYS"."DBA_ROLES""
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ERRORS" FOR "SYS"."DBA_ERRORS""
    IMP-00008: unrecognized statement in the export file:
    . importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00008: unrecognized statement in the export file:
    J
    Import terminated successfully with warnings.
    -------------------------------------b]
    So after analysing this log file, i created
    the appropriate drives and folders... as the
    import statement doesn't see them.
    E:\ORADATA G:\ORDATA etc...
    And i started to [b]IMPORT ONE MORE TIME. with:
    $ IMP73 sys/pssw Full=Y FILE=c:\temp\FOLD_1\data_1.dmp BUFFER=64000
    COMMIT=Y INDEXFILE=c:\temp\FOLD_1\BOO_idx.sql
    LOG=c:\temp\FOLD_1\BOO_log.LOG DESTROY=Y IGNORE=Y;
    after that i could not see the users nor the
    tables created.
    and the following message appeared in the log file:
    Warning: the objects were exported by L1, not by you
    . . skipping table "AN1999_BDAT"
    . . skipping table "ANPK"
    . . skipping table "BOAP"
    . . skipping table "BOO_D"
    ETC.....skipping all the tables
    . . skipping table "THIN_PER0"
    . . skipping table "UPDATE_TEMP"
    Import terminated successfully without warnings.
    and only 2 new tablespaces (originally 3) were
    created without any data in ( i check that in
    the Oracle Storage manager : the tablespaces exit
    with 0.002 used space; originally 60 M for each !!)
    so,
    How to import data (with full import option) succefully
    MORE THAN ONE TIME from an exported dump file ?
    Even if we have to overwrite tablespaces , tables and users.
    thank you very much

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

  • How to import data from CSV to TCode COR6N

    Hi friends,
    Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
    I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
    Thanks in advance.
    Nguyen Phuoc Toan.

    You can use the LSMW tool to do this.
    The details of LSMW BAPI method is as follows :-
    Business Object:- BUS2116
    Method:-CREATEPREDEFTIMETICKETMULTIPLE
    Message Type:- PPCC2PRETTICKET
    Basic Type:- PPCC2PRETTICKET01
    Regards
    Dhirendra

  • How to import data from CSV file with columns separated by semicolon?

    I migrate database from MS SQL 2008 to ORACLE 11g
    I export data to CSV file from MS SQL
    then I try to import it to Oracle
    several tables goes fine using Import data option in the SQL Developer
    Standard CSV files with data separated by comma were imported.
    chars, date (with format string), and integer data are imported via import wizard without problems
    the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
    comma is the standard separator for columns in CSV file
    so I must change the standard separator to semicolon
    then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
    In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
    I change "End of Column Delimiter" to ; but it doens't work
    Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
    Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?

    A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.

  • How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC

    Hi
    How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC datasources at RSA3?
    I'm very new to retail BI.
    I think there is no setup tables for Retail infosources.
    Any IDoc or BAPI activation is required or other procedure?
    We are in BI-700 SAPKW70015 support pack R/3 side
    and SAP_BW 700 Support pack SAPKW70016 &
    BI_CONT 703 Support pack SAPKIBIIP9 BI side
    Can anyone guide me how to load data?
    Points assured
    Thanks in advance
    Ramana P

    Dear Ramana,
    There is no setup table for POSCAS and POSREC.This has to be popuated with a BADI Implementation. 
    As of PlugIns 2002_1_470 and 2002_2_470, POS data is update into BW the 2LIS_44_POSREC and 2LIS_43_POSCAS extractors using a BADI. To be able to update data into BW, the relevant implementation for the BADI must be activated in each case. You can activate the implementation in transaction SE19. The implementations are as follows:
    POS_EX_REC_PI2003_1 for extractor 2LIS_44_POSREC
    POS_EX_CAS_PI2003_1 for extractor 2LIS_44_POSCAS
    Once the activation of BADI , create the back ground jobs for the 44 application and the data is pushed into Delta queue and it can be loaded into BI .
    Hope this helps you.
    Thanks,
    Krishna Charan

  • How to import a XML file into the document?

    Hai,
    i had created a table using xml file....
    Now i want to import that xml file tabel into the document...
    Can any one tell me how to import the xml file into the document?
    thanks
    senthil

    Hai...
    this is senthil...
    i'm beginner for creating adobe indesign plugins..
    i want to import a html file in the document...
    i want to create a table by using html tags and
    that table will be imported into the document..
    How shall i do it?
    can any one plzz explain me?

  • How to import a PSD file into Indesign WITH layers so it can be edited/saved as an InDesign file?

    How to import a Photoshop file into Indesign CS6 so that it's layers show in InDesign and it can then be edited/saved as an InDesign file?

    MyTienN wrote:
    Someone had mentioned the possibility of saving each individual layer in Photoshop as a png file and importing into Indesign and adjusting it in there
    What do you mean by "adjust"? Editing of Photoshop images should be done in Photoshop.
    Sure, it's possible to save individual layers from an image in Photoshop as inidvidual files in a variety of formats, but what's the point? You could just as easily import the layered file, then copy/paste it into a new layer for each layer in the image and use layer visibility to control which ones show. I don't think that will do you a lot of good, though, if you use adjustment layers or opacity controls on the layer in Photoshop.

Maybe you are looking for

  • Running a smoot and constant frame rate?

    Hi, Can someone please show me a way in which I can maintain a constant fram rate, cause the only use of: try { Thread.sleep(snooze); }catch (InterruptedException ex) { // do nothing is a bit bumpy, i.e. the frame rate increases and decreases as it w

  • Freight to be calculated based on sales order net value

    Hello Experts, We have got a scenario, The net value of the sales order is 1194, 13 Euro, the customer has to pay 6,40 Euro freight costs one time for this order. If we donu2019t deliver all items based on backorder or something else, the customer ha

  • Only 2 banks to survive the financial crisis

    Financial analysts have said that only 2 banks will survive the current financial crisis. "Only two banks will survive the financial crisis... the Bloodbank and the Spermbank. Ultimately they will merge to one single bank, under the name: "The Bloody

  • What is the D/f btw PQAH and SQ01

    Hi, In Ad-Hoc Querry can any tell me difference between PQAH and SQ01 coz i) If i run a querry using tcode PQAH i am not able see the save button since it's disabled ii)Same in sq01 i am able to see the save button. Need help on this...! Regards Vija

  • Question about installing Snow Leopard on a Mac Mini

    I'm in the process of installing Snow Leopard on a Mac Mini, but it's taking forever. It's been installing for well over 2 hours now and still indicates an hour left to install. Is this unusual? I'm getting a little concerned. What do I do if I have