Repost: Save data in Excels spreasheet to Oracle DB ?

          Hi all,
          I have an excels spreadsheet that have data in it, and I want to read the excels
          spreadsheet and save the data in my oracle DB. For example 4 columns:
          ID Prices Period Effective Date
          1 40 5/1/00 5/3/00
          2 30 5/1/00 5/3/00
          Thanks
          

In your file is there always a value for each field?
If you have nulls you need to put an expression to not map when there is a null. This is important if they are numbers as numbers tend to want a value.
In the transformation on the right, right-click the field that will recieve nulls, select the if clause. This will create a if above the field. Drag the field on the left to both the if and the field itself.
On the if map you need to add the expression string-length(field) > 0. Do this by right-click the if map and choose strings conditions, string-length, then a a logical expression > 0
cheers
James

Similar Messages

  • Upload data from excel file to Oracle table

    Dear All,
    I have to upload data from excel file to Oracle table without using third party tools and without converting into CSV file.
    Could you tell me please how can i do this using PLSQl or SQL Loader.
    Thnaks in Advance..

    Dear All,
    I have to upload data from excel file to
    Oracle table without using third party tools and
    without converting into CSV file.
    Could you tell me please how can i do this
    using PLSQl or SQL Loader.
    Thnaks in Advance..As billy mentioned using ODBC interface ,the same HS service which is a layer over using traditional ODBC to access non oracle database.Here is link you can hit and trial and come out here if you have any problem.
    http://www.oracle-base.com/articles/9i/HSGenericConnectivity9i.php[pre]
    Khurram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can i save data in Excel

    Hi,
    I want to save data in Excel? But how?
    Can somebody send me a VI?
    Thank you

    If you want to do excel formatting and really have full functionality in Excel without having to buy the reports toolkit, you can use the Excel ActiveX controls. If you have Excel installed you can use ActiveX references to do anything you want excel to do for you. Use an automation reference and select the Excel class. I forget what its called, but you should be able to find what does what without too much problem. You just use methods from the reference. It takes a bit of work to figure out what everything does, but I have written huge formatting vi's that open excel, format cells, run macros, and save files in excel and then close excel when its done. It all depends on how fancy you want to get.
    -Devin
    I got 99 problems but 8.6 ain't one.

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • Save data to excel using froms_ole builtin

    Hi All,
    can somebody send me an example how to save any data to excel workbook
    using FORMS_OLE builtin package (or OLE2 in later versions) ?
    I'm working with forms 4.5
    Thanks
    Brano

    For merging of cells you can refer following code!
    [Merging of cells.|https://www.sdn.sap.com/irj/scn/wiki?path=/display/community/oleconceptfordownloadingthereportoutputintoexcel]
    Regards,
    Lalit Mohan Gupta.

  • How do i load data in excel to an oracle table

    How do i load data from an excel file with several worksheets into an oracle table?
    using Oracle 10g
    Excel
    sample data of excel
    Name eric Name mary
    AccountNo 123 AccountNo 321
    amount1 5.0 Amount1 1.0
    amount2 5.5 Amount2 2.0
    amount3 6.0 Amount3 3.0
    Total 16.5 Total 6.0
    Name larry Name beth
    AccountNo 123 AccountNo 321
    amount1 5.0 Amount1 1.0
    amount2 5.5 Amount2 2.0
    amount3 6.0 Amount3 3.0
    Total 16.5 Total 6.0
    Note: Assume data are aligned into columns like a real excel workbook

    Hi,
    You can make one csv file per sheet. After what you can use sql*loader utyility.
    Since 9i, there is external table : http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_7002.htm#i2129649
    Nicolas.

  • Using OBIEE Scheduler to export and save data in excel/pdf

    Hi
    Is it possible to use obiee scheduler and run particular reports and export the data into excel/pdf and save this file at given location on server.
    env: obiee 11g/linux OS
    Thanks for any ideas.

    Hi,
    Yes it is possible.
    As per my knowledge we don't have such option but we can do one way.
    Using IBOTS you can store specific report and specific time in specific location.
    Note : Using JS script.
    Are you going to implement this way send me your mails id will send you js script for doing this.
    Re: Auto SAVE to excel -- Please refer this thread.
    Create js file using the below script and add this js scrif in your ibot advanced tab.
    var FSO = new ActiveXObject("Scripting.FileSystemObject");
    var foldername = 'D:\IBOT'
    if (FSO.FolderExists(foldername))
    var fileName = foldername + "\\" +Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    else
    FSO.CreateFolder(foldername);
    var fileName = foldername + "D:\IBOT" + Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    Thanks,
    Satya

  • Upload the excel file in oracle db through oracle forms

    Hi all,
    I want to upload the excel file in oracle db through oracle forms...I am new to oracle forms .
    I have searched a lot but not getting exact solution
    Is there anyone who will help me out with this .....
    Any help will be appriciated

    I'm trying to move data from excel into an Oracle forms field. This involves coping 2 columns of data cells in excel and pasting it into an Oracle forms field. I can get the date pasted into the Oracle forms field but there is a invisible character that separates the 2 columns of data coming from Excel. I do not know what this character is but it is causing the error 'Line 1 is invalid. Check forms'.
    Any ideas how to get pass this?
    Thank you

  • How to forbidden to save report in Excel files

    Hi,
    I use Edge BO 3.0.
    In WEB Intelligence report, is it possible to forbiden to users to save data in an excel file ?
    I created an acces level and I denied for Webi report the rules :
    Export the report data
    save as Excel files
    save as CSV files
    I just allow users to save as PDF files.
    I created a group and give this acces level to this group for Web Intelligence application.
    But my users can allways save data in Excel files...
    What's wrong ?
        Thank you
             Michel  (from FRANCE)

    Hi,
    Following solution might help you to resolve the issue.
    In BusinessObjects Enterprise XI, users can save Web Intelligence reports as portable document format (PDF), Excel, comma-separated value (CSV), and other formats to their local computer. It is necessary to restrict this right for a group of users by disabling the Save As option.
    Resolution
    Here are the steps:
    Log on to the Central Management Console as administrator.
    Click Folder > folder containing report > Rights tab > Add/Remove.
    Add the appropriate group. Click OK. The User Folders window appears.
    Click Advanced in the Net Access Column.
    Clear the <group name> will inherit rights from its parent groups option.
    Clear the <folder name> will inherit rights from its parent folders option.
    Expand the Web Intelligence Document section.
    Click the Explicitly Denied option for the right to Export the report"s data.
    Click Apply > OK.
    When the Web Intelligence report is opened, the users will no longer see the Save As option.

  • Storing data from XML files in Oracle DB

    Hi!
    I just started to work with XML and need to save data from XML files into Oracle database. I tried to run sample from Oracle web site. The code was following:
    public class xmlwritedb
    public static void main(String args[]) throws SQLException
    String tabName = "EMP"; // Table into which to insert XML data
    String fileName = "emp.xml"; // XML document filename
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // Initialize a JDBC connection
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:oci8:scott/tiger@");
    // Insert XML data from file (filename) into
    // database table (tabName)
    OracleXMLSave save = new OracleXMLSave(conn, tabName);
    URL url = save.createURL(fileName);
    int rowCount = save.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    But it does not work.
    OracleXMLSave object does not see file name.
    Please, help me solve this problem. Also,where is it possible to find any documentation on oracle.xml.* classes API.
    Thank you.
    Maya.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sudeepk:
    If a java exception is thrown probably during ur install u might have forgotten
    grant javauserpriv to scott;
    grant javasyspriv to scott;
    Thanks
    [email protected]
    <HR></BLOCKQUOTE>
    Thank you!!!

  • Send data to Excel

    We are designing reports to run on the web using report server and PDF format. What is the best way to also move the data to Excel?

    No. Oracle generates delimited output,
    which Excel can read, but all field-level
    formatting (font, weight, width, etc.) will
    be lost. In response to a previous question,
    Oracle Reports Team said that no, 9i won't
    generate native Excel, either.
    Since Excel was a requirement for us, we
    ended up with a workaround: write a PL/SQL
    stored procedure (pl/sql agent) that
    generates HTML source code, with Excel
    additions for font classes etc. It works
    quite nicely, but obviously requires more
    coding work than if Reports would do the
    job. Headers and Unicode, too.
    (And for some reason, Oracle's HTML output
    seems to generate a random number of columns
    per field, so if you take that to Excel your
    data will be spread across multiple fields.
    So that didn't help either.)
    (Actually, if the formatting isn't critical,
    the OraRepTeam answer ought to work, even
    for Unicode. I've done a few small tests.
    We needed the formatting, though.)
    Sigh.
    -- Allan Plum

  • Data from Excel to Oracle DB

    Hi,
    I can upload data from excel to access having created stored procedure on access.
    I do the upload using my vb code.
    How can I upload data from excel to oracle db? could i use the same technique as above? only problem is im not sure if that vb code will work with oracle?
    has anyone done this before? anyone have example code?
    kindly assist me here
    thanks

    The easiest way to do this is to use a Oracle ODBC connection which can be found on OTN. You do not need a stored proc.
    After installing Oracle ODBC on the machine where Excel and Access live, do the following.
    Note, you already have steps 1, 2 and 3. I list all the steps for others.
    1. Create your MS/Excel workbook
    2. Add data to it.
    3. Save it as "book1.xls".
    4. Open MS/Access
    5. Create new blank database, call it db1.
    6. Then from the file menu, get external data, import, make sure the file type is xls, select book1.xls.
    7. The wizard will walk you through the process of importing you Excel workbook into a new table.
    8. Save
    9. From the file menu select export table.
    10. Select ODBC at the bottom of the "Save as type list".
    11. Then (depending how you set up ODBC) select Machine Data Source.
    12 . Select your Oracle ODBC connection and press OK.
    You now have taken data from Excel to Access and placed it in the Oracle schema that was named when you setup your Oracle ODBC connection.
    BG...

  • Import data using Excel and Oracle SQL Developer - I need some help

    Dear friends,
    I'm using Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file in XLS format, fields and headers are correctly being shown and separated, but if I press "Next" button, it simply doesn't do anything - it stays stopped.
    I did some search here in this forum and it seems to me that, when you try to import a file via XLS format, SQL Developer has bugs. Is this correct?
    If I save the same file in CSV format and try to import the same file, it goes ahead, but SQL Developer is not separating fields and headers correctly. It combines all CSV fields into one - let's say Column0 and fields 1;TEST;01/01/2000 below the same Column0.
    Saving the file in CSV format is not a problem, taking a very little time. But I don't know how to make SQL Developer import it correctly. Could somebody please help me? Thanks in advance.
    Best regards,
    Franklin

    Hello K,
    yes, you're right. I found the following topic after posting this question here.
    Re: After update to 1.5.1, import from Excel fails
    I downloaded version 1.5.0 and I'll use it whenever I import data from Excel.
    Thanks,
    Franklin

  • Oracle data to Excell

    I have been using sql*loader to transfer data
    from Excell to Oracle8. Now I need to do the reverse. I need to take data from Oracle back to Excell. Coould someone tell me how to do that or at least start me in the right direction ?
    Thanks,
    Jordi

    Thanks Andrew. I was hoping there was a way to save the Oracle data as a text file which I could then load into Access or Excell. I will however try your suggestion.
    Thanks !
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Jones:
    Try ODBC.
    Data -> Get External Data -> New Database Query<HR></BLOCKQUOTE>
    null

  • Error in CLOB datatype for transfering data from Excel to Oracle database

    Am using excel sheet as source and Oracle as target Database.
    For all tables the operations works smoothly except for tables containing CLOB datatype.
    Initially i have used SQL Developer to transfer some data into excell sheets, now i want to transfer those file's data into another Oracle Database.
    What other options do i have?
    Is excel not the right tool to transfer CLOB datatypes?

    well,
    I couldn't suggest an excel to do it...
    You can go from Oracle to Oracle with the PL/SQL IKM. It works fine.
    Does it help you?

Maybe you are looking for

  • Not able to access the portal login page and idenetity console page

    Hi all. I installed PS 6.1 on a new Solaris 8 Box. DNS is not configured for this box. I use netscape browser on the solaris boz to test my installation - everything is fine issue: When i tried to access the amconsole or amserver/UI/Login application

  • How can I tell if signals from two devices are truly synchronised?

    Hi there, How does one check that signals from two devices (two separate devices in a single X-series chassis) that should be synchronised actually are?   I am using a PXIe6361 and PXIe4331 on a PXIe-1073, with Labview 2001 SP1 64-bit. All devices ar

  • Acrobat not loading in browser

    PDfs loaded in my browser for years but I had to reinstall Adobe Acrobat Pro and now it will not, when I click on a PDF link it takes me to the "Enter name of file to save to" window. I have everything setup properly. Attached is the about:plugins an

  • Get SlidingPanelsContent ID

    Hi, I need to know the next or the prewiex SlidingPanelsContent ID when click the link next or preview. If possible to a javascript function! Thanks a lot MY CODE: <a href="#" onClick="sp.showPreviousPanel(); return false;"> <div class="next-colli"><

  • Audigy 2 - EAX-Console crashes everyti

    Hi, I own the Audigy 2 ZS and have some trouble with the EAX-Console. When I want to change some settings there (CMSS f.e.) the software just hangs up. Like 80% of the time and I am not able to restart it, until I do a reboot. I have the latest drive