Unable to Import huge data into Hana studio

Hi Experts,
I am trying to load a huge excel file,with  >139175 records .i get error  as in the screenshot.It is self explanatory that I cannot load that big data.
Now my question is there a way to load data in two different files and  then combine them?Or is there any other better way?
Please guide
Any insight provided is highly appreciated
Regards,
LSS

Hmm... looks like google loves me more than it loves you.
One of the first hits - I am sure that other search engines could bring that up too - was this:
How to fix GC overhead limit exceeded in Eclipse
Now, this is my thinking here:
It seems to be a general Eclipse error message, not necessarily related to SAP HANA plugins
the link says "increase available memory for Eclipse
the notion of "more data leads to the error" seems to relate to "more memory is required"
So, why don't you just go and provide Eclipse some more memory via the .ini file and see what happens?
Also, make sure to actually be able to provide more memory. 3 GB working memory (32 Bit version) might not be sufficient and even more important it's so 2003
- Lars

Similar Messages

  • Importing COPA data into HANA Studio

    Hello-
    I am currently trying to import my COPA data into my HANA Studio.
    I have extracted the files and I am trying to follow the steps listed here:
    https://wiki.wdf.sap.corp/wiki/display/bobjdemo/HowtoimportCOPAdata
    Seems easy enough, but I can't decipher the first step: u201C1. Copy copa_export.tar.bz2 file from
    idesapps\publicshare\HANA  to HANA server /tmp using tools like WinSCPu201D
    I downloaded, but could not gain access to WinSCP. What are other tools "like" WinSCP?
    Is there an alternate way to import this data without the first step?
    Thank you so much.
    Truly appreciative,
    John

    Hi John,
    That wiki link doesn't work as it is an internal SAP site.
    In any case, WinSCP is a FTP/SFTP file transfer tool. You just need to get that file over to the HANA server somehow. It doesn't really matter what tool you use, as long as it works!
    Cheers,
    Ethan

  • HANA DB 1.00 Build 20 - Error import COPA Data with HANA STUDIO 1.00...

    Hi,
    Has anyone tried loading data records to HANA DB 1.00 Build 20 from the CTL files provided in     https://wiki.wdf.sap.corp/wiki/display/HANADemoenvironment/HowtoloadCOPAdata ?
    It was work on HANA DB 1.00 Build 15 but not with New Build...
    The procedure was exactly the same
    The creation of Tables is done but i have this error with import data with each csv files:
    Command with HANA Studio (Build 20):
                    load from '/tmp/export/TCURT.ctl' threads 4 batch 1000;
    Error:
                   Could not execute 'load from '/tmp/export/TCURT.ctl' threads 4 batch 1000'
                   SAP DBTech JDBC: [257]: sql syntax error: line 1 (at pos 3643214585)
    I tried also:  load from '/tmp/export/TCURT.ctl' -> same error...
    We have all privileges on the tmp folder and files
    I tried also to copy new data from source...
    Do you have an idea?
    Thanks for advance for help .
    Best regards,
    Eric MG

    Hello,
    LOAD TABLE command was not public - full syntax was never mentioned in any SAP guide on help.sap.com or Market Place (except SAP HANA Pocketbook-DRAFT). Therefore it is SAP internal syntax that can be changed anytime. And I guess this is what happened. Command is either deprecated or having different syntax.
    If you need to import CVS file I would suggest to use official way - either IMPORT command (which was also not very public before but since SP03 it is mentioned in SQL Script Guide) or best using SAP HANA Studio import functionality (just be sure you use CVS as type of file).
    You can find explanation of both ways in this blog:
    SAP HANA - Modeling Content Migration - part 2: Import, Post-migration Activities
    Tomas

  • HCI error - unable to import the data because the row is duplicated in the master data

    Hi, i am working on HCI while i am mapping the data from ECC to HCI target table i am getting this error :Unable to import the data because the row is duplicated in the master data .Could you please help me how to solve this
    Message was edited by: Mariana Mihaylova

    Moved to Process Integration (PI) & SOA Middleware as per New SAP HANA Cloud Integration (HCI) content category (unfortunately, I can't edit the discussion and add the category as I'm not a moderator in this space). Perhaps Mariana Mihaylova can help.
    Susmitha Yerradhodi please read and follow The SCN Rules of Engagement - in particular, the more details you provide, the better the chances of getting your question answered. (e.g. "HCI" is not a helpful subject)

  • Ability to Import Spreadsheet Data into Table in Apps added Anytime Soon??

    I love HTMLDB so much, and I thought I would never find anything it couldn't do, but I have run headlong into a problem that I've discovered many users have.
    The Import Spreadsheet Data into Table functionality available in Data Workshop is such a treasure, and I was hoping with all of my heart that such functionality would be available for use inside the User Applications in HTMLDB 2.0. Alas, it is not so.
    I know some brave folks have come up with work-arounds for this lack, and I applaud them. However, none of those will work for the situation I am faced with. I am about to strike out into the no-man's-land of trying to create my own PL/SQL csv file parsing function. Please wish me luck. Also, could you please tell me if this functionality is going to be included anytime soon?

    Well I looked at the FLOWS_020000.WWV_FLOW_LOAD_DATA.LOAD_CSV_DATA procedure
    From what I can gather(considering nobody cant look at the actual procedural code):
    P_FILE_ID seems to be file id you find in FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$
    P_CNAMES seems to be the column names of table you are loading into
    P_UPLOAD seems to be the names of field from file you are loading
    P_SCHEMA seems to be the schema that contains table where data will be loaded
    P_TABLE seems to be table that you load data into
    P_DATA_TYPE seems to be the datatypes from file to be loaded
    P_DATA_FORMAT not sure
    P_PARSED_DATA_FORMAT not sure
    P_SEPARATOR seems to be the field seperator from file
    P_ENCLOSED_BY seems to be what fields will be enclosed with
    P_FIRST_ROW_IS_COL_NAME seems to be to tell whether or not first row contains column headings
    P_LOAD_TO not sure
    P_CURRENCY seems to be the currency symbol that comes from file
    P_NUMERIC_CHARS not sure
    P_CHARSET not sure
    P_LOAD_ID not sure
    Essentially you could run this process provided you get all the kinks worked out(that is what all the parameters mean/are expected)...
    ...or..
    you write your own process:
    - that reads the blob/clob content line by line
    declare
    n number;
    buffer varchar2(4000);
    begin
    (do some sort of loop until end of length of lob)
    n := dbms_lob.instr( "your lob", ',',"next comma position" );
    if ( nvl(n,0) > 0 )
    then
    buffer := dbms_lob.read( p_lob, "amount of lob length to read", n);
    end if;
    end;
    The above code with some tweaking will read the lob. However you still will have to add a piece that creates sql insert statement. One of the pitfalls I see with custom code is the fact that if you end up with huge lob string you will run into problem of creating sql insert statement. Not the actual statement but assigning the statement to a variable due to datatype lengths.
    Hopefully this will help you more in the right direction!

  • Unable to import CD's into Itunes

    I am unable to import CD's into Itunes.  It won't rip into media player either.  It recognizes the CD and starts to download and states it's imported but the information is unavailable.  I have run diagnostics and re-installed Itunes.  Does anybody have any suggestions?

    Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    Compaq-Presario KT526AA-ABA SR5505F
    iTunes 10.6.3.25
    QuickTime not available
    FairPlay 1.14.43
    Apple Application Support 2.1.9
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.2.0.6
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0031AB8403F12DA8
    Current user is not an administrator.
    The current local date and time is 2012-07-09 09:21:15.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce 6100 nForce 430 (Microsoft Corporation - WDDM)
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 10.6.3.25 is currently running.
    iTunesHelper 10.6.3.25 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    D: TSSTcorp CDDVDW TS-H653Q, Rev 0303
    Audio CD in drive.
    Found 4 songs on CD, playing time 29:10 on Audio CD.
    Track 1, start time 00:02:15
    Track 2, start time 07:01:29
    Track 3, start time 14:12:65
    Track 4, start time 21:10:57
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   4 8 16 24 32 40.
    The drive CDRW speeds are:   4.
    The drive DVDR speeds are:   4.
    The drive DVDRW speeds are:   4.
    Error Correction is turned on for importing audio CDs.

  • Importing BW DSO Into HANA - Authorization Issue

    Hi All,
    I was trying to importing BW DSO into HANA . The Analytic view is showing error  during activation time, showing insufficient privilege.
    While opening the view, one default schema ABC(<missing>) is showing,whereas  ABC schema  is not available under schema list.
    How to activate the analytic view ?
    I didn't find the BW schema in HANA studio, I did->  Select * from M_CS_TABLE where table_name like '/bic/A%00' etc - showing BLANK row.
    I am having authorization SYS_BIC schema but problem only BW related object under this schema while selecting some BW object from this schema.
    Pls suggest.
    Thanks & Regards
    Kamruz

    Thanks for your reply.
    For this time being, I created a Calculation view based on that Analytic View after switch off some fields in view.
    The thing is, If I switch off few fields, Calculation view is working fine.
    How can I enable rest of the fields.
    Amalytic view Error Message :
    Table /BI0/T** could not be found or user has insufficient privileges
    Table /BIC/AZZB_O0100 could not be found or user has insufficient privileges

  • Benefit of importing BW models into HANA.

    Hi All ,
    What is the benefit of importing BW models into HANA and vice versa in BW on HANA ?

    Hi Supriya,
    i think you are mentioning about the migration from BW to BW on HANA here.
    For understanding the benefits , first you need to understand what is HANA. In simple terms HANA is in memory  Data base (it is much more than that ). So being all your data kept in the main memory the speed of the processing will be 300 times better than using a conventional DB. (You can find blogson the perfomance of hana test cases of HANA)
    So in BW on HANA case we will be migrating the underlying DB used in SAP BW (eg : oracle, SQL, or any conventional DB ) into HANA. As i told it is in-memory you will have very high performace gain in your report execution time.In BW on HANA the cubes and DSO will be represented as hana optimised cube / dso .
    Also you can import BW models to HANA, means you can import a BW cube as Native HANA analytic view . Using native HANA modeling will have further performance gains while running reports
    Regards
    Priya

  • Can't import ical dates into iphoto calendar

    Hi all,
    I'm trying to make an iphoto calendar for a friend and I'm running into a frustrating problelm. My friend emailed me an ical birthday calendar which he would like to have included in the iphoto calendar. I imported the ical calendar into my own ical as a new calendar. I have created my calendar in iphoto but I cannot import these dates into it. When I go to settings and click the calendar tab I am given the option of which ical calendars I would like to import to my calendar. I see two, one is my own normal calendar and the other is the birthday calendar sent to me by my friend. I check the birthday calendar and then click ok and ical appears to be importing the dates but when I look at my calendar the dates have not imported. If I try importing my normal calendar I have no problem. What's going on here??? Please help I am getting really frustrated.

    There are many video formats. iPhoto can't read all of them; in fact, it can't read most of them. Here's something that can:
    VideoLAN - Download official VLC media player for Mac OS X
    On the other hand, the videos are just files. You can copy them anywhere you want in the Finder.

  • Importing iCal dates into Address book

    I have a calendar in iCal that stored severyone's brithday and I would like now to import these dates into my address book.  Is there any way?
    Thanks

    Hi,
    You may be able do this with an Applescript. However there is not enough information supplied to know.
    How are ther events formatted in iCal? Do they contain the full name of the person? Do they say how old they are? Are the people already in Address Book, or would they all be new cards?
    Best wishes
    John M

  • Is there a way to import iCal data into a numbers spreadsheet?

    Is there a way to import iCal data into a numbers spreadsheet?

    If you want to import lots of calendar events into Numbers, the general way to proceed would be to:
    export in CSV (character-separated values) from iCal (Calendar)
    import the CSV into Numbers.
    1. can be accomplished via AppleScript (perhaps in an Automator workflow) or, perhaps more convenient, a dedicated exporter app such as Export Calendars Pro or competitors.
    2. Importing into Numbers is usually as easy as File > Open and choose the CSV file.
    SG

  • How to import csv data into Oracle using c#

    Hello,
    How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import csv data into oracle. Thank you.
    This is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    using System.Threading;
    using System.Text.RegularExpressions;
    using System.IO;
    using FileHelpers;
    using System.Data.OracleClient;
    namespace sqlloader
    class Program
    static void Main(string[] args)
    int jum;
    int i;
    bool isFirstLine = false;
    FileHelperEngine engine = new FileHelperEngine(typeof(XL_XDR));
    //Connect To Database
    string constr = "Data Source=(DESCRIPTION=(ADDRESS_LIST="
    + "(ADDRESS=(PROTOCOL=TCP)(HOST= pt-9a84825594af )(PORT=1521 )))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=o11g)));"
    + "User Id=xl;Password=rahasia;";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    // To Read Use:
    XL_XDR[] res = engine.ReadFile("DataOut.csv") as XL_XDR[];
    jum = CountLinesInFile("DataOut.csv");
    FileInfo f2 = new FileInfo("DataOut.csv");
    long s2 = f2.Length;
    int jmlRecord = jum - 1;
    for (i = 0; i < jum; i++)
    ShowPercentProgress("Processing...", i, jum);
    Thread.Sleep(100);
    if (isFirstLine == false)
    isFirstLine = true;
    else
    string sql = "INSERT INTO XL_XDR (XDR_ID, XDR_TYPE, SESSION_START_TIME, SESSION_END_TIME, SESSION_LAST_UPDATE_TIME, " +
    "SESSION_FLAG, VERSION, CONNECTION_ROW_COUNT, ERROR_CODE, METHOD, HOST_LEN, HOST, URL_LEN, URL, CONNECTION_START_TIME, " +
    "CONNECTION_LAST_UPDATE_TIME, CONNECTION_FLAG, CONNECTION_ID, TOTAL_EVENT_COUNT, TUNNEL_PAIR_ID, RESPONSIVENESS_TYPE, " +
    "CLIENT_PORT, PAYLOAD_TYPE, VIRTUAL_TYPE, VID_CLIENT, VID_SERVER, CLIENT_ADDR, SERVER_ADDR, CLIENT_TUNNEL_ADDR, " +
    "SERVER_TUNNEL_ADDR, ERROR_CODE_2, IPID, C2S_PKTS, C2S_OCTETS, S2C_PKTS, S2C_OCTETS, NUM_SUCC_TRANS, CONNECT_TIME, " +
    "TOTAL_RESP, TIMEOUTS, RETRIES, RAI, TCP_SYNS, TCP_SYN_ACKS, TCP_SYN_RESETS, TCP_SYN_FINS, EVENT_TYPE, FLAGS, TIME_STAMP, " +
    "EVENT_ID, EVENT_CODE) VALUES (" +
    "'" + res.XDR_ID + "', '" + res[i].XDR_TYPE + "', '" + res[i].SESSION_START_TIME + "', '" + res[i].SESSION_END_TIME + "', " +
    "'" + res[i].SESSION_LAST_UPDATE_TIME + "', '" + res[i].SESSION_FLAG + "', '" + res[i].VERSION + "', '" + res[i].CONNECTION_ROW_COUNT + "', " +
    "'" + res[i].ERROR_CODE + "', '" + res[i].METHOD + "', '" + res[i].HOST_LEN + "', '" + res[i].HOST + "', " +
    "'" + res[i].URL_LEN + "', '" + res[i].URL + "', '" + res[i].CONNECTION_START_TIME + "', '" + res[i].CONNECTION_LAST_UPDATE_TIME + "', " +
    "'" + res[i].CONNECTION_FLAG + "', '" + res[i].CONNECTION_ID + "', '" + res[i].TOTAL_EVENT_COUNT + "', '" + res[i].TUNNEL_PAIR_ID + "', " +
    "'" + res[i].RESPONSIVENESS_TYPE + "', '" + res[i].CLIENT_PORT + "', '" + res[i].PAYLOAD_TYPE + "', '" + res[i].VIRTUAL_TYPE + "', " +
    "'" + res[i].VID_CLIENT + "', '" + res[i].VID_SERVER + "', '" + res[i].CLIENT_ADDR + "', '" + res[i].SERVER_ADDR + "', " +
    "'" + res[i].CLIENT_TUNNEL_ADDR + "', '" + res[i].SERVER_TUNNEL_ADDR + "', '" + res[i].ERROR_CODE_2 + "', '" + res[i].IPID + "', " +
    "'" + res[i].C2S_PKTS + "', '" + res[i].C2S_OCTETS + "', '" + res[i].S2C_PKTS + "', '" + res[i].S2C_OCTETS + "', " +
    "'" + res[i].NUM_SUCC_TRANS + "', '" + res[i].CONNECT_TIME + "', '" + res[i].TOTAL_RESP + "', '" + res[i].TIMEOUTS + "', " +
    "'" + res[i].RETRIES + "', '" + res[i].RAI + "', '" + res[i].TCP_SYNS + "', '" + res[i].TCP_SYN_ACKS + "', " +
    "'" + res[i].TCP_SYN_RESETS + "', '" + res[i].TCP_SYN_FINS + "', '" + res[i].EVENT_TYPE + "', '" + res[i].FLAGS + "', " +
    "'" + res[i].TIME_STAMP + "', '" + res[i].EVENT_ID + "', '" + res[i].EVENT_CODE + "')";
    OracleCommand command = new OracleCommand(sql, con);
    command.ExecuteNonQuery();
    Console.WriteLine("Successfully Inserted");
    Console.WriteLine();
    Console.WriteLine("Number of Row Data: " + jmlRecord.ToString());
    Console.WriteLine();
    Console.WriteLine("The size of {0} is {1} bytes.", f2.Name, f2.Length);
    con.Close();
    static void ShowPercentProgress(string message, int currElementIndex, int totalElementCount)
    if (currElementIndex < 0 || currElementIndex >= totalElementCount)
    throw new InvalidOperationException("currElement out of range");
    int percent = (100 * (currElementIndex + 1)) / totalElementCount;
    Console.Write("\r{0}{1}% complete", message, percent);
    if (currElementIndex == totalElementCount - 1)
    Console.WriteLine(Environment.NewLine);
    static int CountLinesInFile(string f)
    int count = 0;
    using (StreamReader r = new StreamReader(f))
    string line;
    while ((line = r.ReadLine()) != null)
    count++;
    return count;
    [DelimitedRecord(",")]
    public class XL_XDR
    public string XDR_ID;
    public string XDR_TYPE;
    public string SESSION_START_TIME;
    public string SESSION_END_TIME;
    public string SESSION_LAST_UPDATE_TIME;
    public string SESSION_FLAG;
    public string VERSION;
    public string CONNECTION_ROW_COUNT;
    public string ERROR_CODE;
    public string METHOD;
    public string HOST_LEN;
    public string HOST;
    public string URL_LEN;
    public string URL;
    public string CONNECTION_START_TIME;
    public string CONNECTION_LAST_UPDATE_TIME;
    public string CONNECTION_FLAG;
    public string CONNECTION_ID;
    public string TOTAL_EVENT_COUNT;
    public string TUNNEL_PAIR_ID;
    public string RESPONSIVENESS_TYPE;
    public string CLIENT_PORT;
    public string PAYLOAD_TYPE;
    public string VIRTUAL_TYPE;
    public string VID_CLIENT;
    public string VID_SERVER;
    public string CLIENT_ADDR;
    public string SERVER_ADDR;
    public string CLIENT_TUNNEL_ADDR;
    public string SERVER_TUNNEL_ADDR;
    public string ERROR_CODE_2;
    public string IPID;
    public string C2S_PKTS;
    public string C2S_OCTETS;
    public string S2C_PKTS;
    public string S2C_OCTETS;
    public string NUM_SUCC_TRANS;
    public string CONNECT_TIME;
    public string TOTAL_RESP;
    public string TIMEOUTS;
    public string RETRIES;
    public string RAI;
    public string TCP_SYNS;
    public string TCP_SYN_ACKS;
    public string TCP_SYN_RESETS;
    public string TCP_SYN_FINS;
    public string EVENT_TYPE;
    public string FLAGS;
    public string TIME_STAMP;
    public string EVENT_ID;
    public string EVENT_CODE;
    I hope someone can give me a solution. Thanks

    The fastest way is to use external tables or sql loader (sqlldr). (If you use external tables or sql loader, you don't use C# at all).

  • GetData() to insert data into HANA

    Hi there,
    we struggle while using the getData() function to insert data into HANA.
    Here is our test coding:
        typedef [
           binary HeaderId;
        Timestamp  "Timestamp";
        string SystemType;
           string SystemId;
          | ] ts_Log_Header ;
    vector ( ts_Log_Header ) lt_Log_Header ;
                    getData( lt_Log_Header,
                              'ServiceHDBANA',
                              'Insert into "SAP_SEC_MON"."sap.secmon.db::Log.LogHeader" values ( ?, ?, ?,? )', WithNullIDs.HeaderId, WithNullIDs."Timestamp", 'PILLE', '');
    We see the following error in the console output as well as in the project log file:
    Error:
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-100005] (18.299) sp(18744) Error retrieving column 1 value from result set.
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-100005] (18.299) sp(18744) A result row is skipped due to error retrieving column data.
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-104003] (18.299) sp(18744) Error in function 'getData': Error iterating result set
    2014-05-23 14:41:46.734 | 6924 | container | [SP-4-131038] (18.315) sp(18744) Stream(): error occurred in computation of row.
    The according schema of the table in HANA looks like this:
    CREATE COLUMN TABLE "SAP_SEC_MON"."sap.secmon.db::Log.LogHeader" ("HeaderId" VARBINARY(16) CS_RAW,
      "Timestamp" LONGDATE CS_LONGDATE,
      "SystemType" NVARCHAR(50),
      "SystemId" NVARCHAR(5000))
    Any help would be appreciated.Or is there any example coding available ?
    We´re using ESP SP04 on a windows machine.

    Hi,
    Create a procedure in HANA that handles the insert, and have it return a dummy record, something similar to this:
    HANA Procedure:
    CREATE PROCEDURE insert_stock (symbol varchar(10), volume integer, price float)
    LANGUAGE SQLSCRIPT AS
    BEGIN
       INSERT INTO "SYSTEM"."stock"  values(symbol, volume, price);
       SELECT ::ROWCOUNT FROM DUMMY;
    END
    ESP CCL:
    CREATE INPUT stream StockStream SCHEMA (symbol string, volume integer, price float);
    CREATE Flex stock_flex
       IN StockStream
       OUT OUTPUT STREAM stock_traded SCHEMA(symbol string, volume integer, price float)
       BEGIN
          DECLARE
             /* The typedef must be the same as the return value of the stored procedure.            */
             typedef [integer dummydata;|] datarec;
             /* dummydatarec is a vector variable to store the return value of the stored procedure  */
             vector(datarec) dummydatarec;
          END;
          ON StockStream {
             if ( isnull(dummydatarec) ) {
                dummydatarec := new vector(datarec);                 
             getData(dummydatarec, 'HANAODBCService',
                 'CALL "SYSTEM"."INSERT_STOCK" (?,?,?)',
                  StockStream.symbol, StockStream.volume, StockStream.price );
             resize(dummydatarec,0);
       END;
    Hope that helps!
    Thanks,
    Alice

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Loading data into HANA DB (using hdbsql client) with Control file.

    Hi,
    I am working on a Project where the requirement is to load data from a csv file into HANA Database.
    I am using HDBSQL, command line client on a windows machine to upload the data into HANA DB on a linux server.
    I am able to successfully use the HDBSQL to export the file.
    I have the following questions w.r.t to Bulk uploading data from CSV:
    Where should the CSV file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where should the control file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where will the error file reside in case of errors?
    I am new to this and any help is much appreicated.
    Thanks,
    Shreesha

    Hi Shreesha,
    Where should the CSV file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where should the control file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where will the error file reside in case of errors?
    We need to create the DATA,CONTROL and ERROR folders on the linux server on which HANA is installed.( or a server accessible to SAP HANA server )
    Hence we need to SFTP the file to HANA server to further load into Table.
    Also have a look on the similar requirement on which i worked
    SAP HANA: Replicating Data into SAP HANA using HDBSQL
    Regards,
    Krishna Tangudu

Maybe you are looking for

  • How can I Remove Recent Contacts from Messages App?

    iOS 7 had a feature I could use (found here: http://www.tekrevue.com/tip/remove-recent-contacts-iphone-messages/) that would allow me to remove recent contacts from iMessage via an info tab. I used the feature to fix iMessage vs SMS issues with conta

  • Is there a limit to the # of chapters?

    I want to make a DVD that will have clips of video discussing topics for every page in a 300 page book. Can a DVD be produced with DVD Studio Pro that would allow a menu to be made with links to jump to each chapter in the book as well as submenus fo

  • Satellite L550-1CC starts with Consistancy disks check

    Hi all I have a Satellite L550-1CC, running Windows 7. Recently on start up I have been receiving the message " one of your disks needs to be checked for consistency " and then it runs a scan, and after 2 0r 3 minutes boots up to windows as normal. T

  • Page numbering every second page

    Hi guys, ok I have a 200 page booklet I'm doing, very simple - a notes page on the left hand side and then the contacts details on the right. But in the top right corner I need a page number that correlates with the contact. Problem is if I make page

  • Add or remove albums/songs from Home

    So I got the latest update from Sony (8.4.A.5.4) and it was listed that you can add or remove stuff in Home in the Walkman but I can't see any place to do that, help?