Convert .xls in .csv file using pl/sql or any other method (oracle 9i)

Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production

With partitioning, OLAP and Oracle Data Mining options

Release 9.2.0.8.0 - Production jserver

10.1.2.0.2 generator

ORACLE Server Release 10.1.0.4.2

Oracle 10.1.2.0.2 procedure generator

Oracle ORACLE PL/SQL V10.1.0.4.2 - Production

Oracle 10.1.0.4.0 Production CORE

Integration Services 10.1.2.0.2 tools Oracle

Space common tools Oracle 10.1.2.0.2

Oracle Toolkit 2 for 32-bit Windows, 10.1.2.0.2 platforms

Resource object 10.1.2.0.2 store

Oracle Help 10.1.2.0.2

Oracle Sqlmgr 10.1.2.0.2

Query Oracle 10.1.2.0.2 - Production Designer

PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

Oracle ZRC 10.1.2.0.2

Oracle XML Developers Kit 10.1.0.4.2 - Production

Virtual graphics system Oracle 10.1.2.0.2

Image of Oracle 10.1.2.0.2

Widget media Oracle 10.1.2.0.2

The GUI utility 10.1.2.0.2 tools Oracle

I had seen a very old post of 2009.

Convert .xls in .csv file using pl/sql

I know that it s a long time but just wanted to know if there is a way to convert excel .csv.

I have a directory say 'F:\purple_top\ '. I'll get the .xls file in this directory. I need to change to .csv and tables load external oracle. Any ideas or advance coding on it since 2009 so far?

A few other options might be:

  • Java code, which can be used from within Oracle, which makes use of utility libraries (e.g. Aspose.Cells) open source (for example Apache POI) or "save under" CSV, or read the source cells and their output to a CSV file.
  • COM Automation, using available open source (for example, JACOB or j-interop) or commercial libraries, which can automate Excel to open a XLS file and "Save as" a CSV file. In addition, Oracle has a feature of COM Automation (available since version 8 but abandoned after Oracle 11g). I have successfully used this read (non-macro-enabled) Excel files in PL/SQL.
  • Other approaches using Perl or PHP can be found by googling 'convert xls to csv.

Gerard

Tags: Database

Similar Questions

  • How can I convert a PDF to xls or csv file

    How can I convert a PDF to xls or csv file? thnx

    HI newapiary

    You can either use Adobe Acrobat or Adobe ExportPDF Service online.

    Please visit: https://www.acrobat.com/exportpdf/en_GB/convert-pdf-to-word.html

  • How to import blackBerry smartphones. CSV file using Desktop Manager 4.6?

    Hello

    I'm new to Blackberry and I recently bought.  I exported my cell phone contact into a .csv file?

    Please tell us how to import. CSV file using Desktop Manager 4.6?

    I used

    Hi tahir, you must import the csv file into outlook first use and after outlook synchronization with desktop Manager.

  • Do CPO dynamic media transforming workflow using the API or any other means?

    Do CPO dynamic media transforming workflow using the API or any other means?

    Could we create or update workflows when running?

    There is no workflow WSDL. But I'm not sure of the custom here. Can you describe your use case or what you try to do this will have to change a process/workflow during execution?

  • I want to convert file .xls in .txt file using Labview

    Hello Sir,

    I want to convert the file .xls in .txt file because when I try to open and read the .xls data it reads the unwanted data.

    Thank you and best regards,

    MadhanKumar.P

    or something like this:

  • An error in loading data from .csv file using sql * loader

    Hello


    I wrote a control file, to load data into the table.
    The .csv (input file) contains a value that contains within it. So that the value is placed in "" (double quotes)

    The record that contains the value that is quoted is not loaded into the file.

    example: -.
    input file (.csv file)
    001, apple, 1, 31 December 00
    002, "abc, def & ltd", December 1, 31 00

    in the example above second row is not inserted into the table.

    How can I insert all the rows in the table.
    any help is appreciated.

    Thanks in advance...
    RXG

    looks like your control file?

    Try this.
    fields ended by ',' optionally surrounded "" "

  • list box given to the .csv file using write on the worksheet File.vi

    Hi, I use the write on the worksheet File.vi to write data multicolumn ListBox to the .csv file. If I do record from Excel, the pop-up window shows as an attachment. And data listbox are too different.  I want the data displayed in the first line not the second row (third photo).

    Thank you for your help.

    Before making your Save As in Excel, change the cell formatting of number. This should avoid the scientific notation conversion before you re-register.

    Or just use Notepad to display the file instead of Excel.

  • Delete the server's CSV file using php

    Hi all

    I have a link on a site that I created I would trigger php to remove a CSV file which takes place on the server.

    Anyone have any ideas?

    See you soon

    T

    http://www.php.net/manual/en/function.unlink.php

    http://www.php.net/manual/en/ref.filesystem.php - more functions file.

  • I work with word 2003. I need to convert a .doc .jpg file can it be done, any help would be really appreciated. Thank you!!!

    I work with Word 2003.  I need to convert a .doc .jpg file...  Can it be done?  Any help would be greatly appreciated.  Thank you!!!

    You posted just the simplest way, take a picture of him,

    You can try,

    Open the doc,

    Click the Office logo at the top left,

    Save slot, below, you will see other file types.

    JPEG / jpg is not an option for me, it could be for you?

    Or try this,.

    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots

  • Windows Movie Maker project files cannot be read by any other program except Windows Movie Maker.

    Windows XP, Movie Maker: It saves the files as files Windows Movie Maker project that cannot be read by any other program except Windows Movie Maker. Useless for anyone who wants to download on You Tube, etc. Please notify.

    Windows XP, Movie Maker: It saves the files as files Windows Movie Maker project that cannot be read by any other program except Windows Movie Maker. Useless for anyone who wants to download on You Tube, etc. Please notify.

    ===================================
    The project .mswmm file is designed only for a re-release
    for use in Movie Maker. To share your work with
    family and friends, and download to the web... save your
    format .wmv movie projects.

    To save in a .wmv movie file...
    Type of... CTRL + P to open the movie recording Wizard.
    (or... go... File / save movie file)
    Choose... My computer.
    Next /.
    Enter a name and a location.
    Next /.
    ICT... "Best quality for my computer.
    Next /.
    Wait while the movie is saved.
    Finishing...

    Also, the following links may be worth a visit:

    Movie Maker 2 and photo story 3
    PapaJohn YouTube Guide
    http://www.Papajohn.org/mm2-distributing-YouTube.html

    YouTube Help Center: for starters: how to download
    http://www.Google.com/support/YouTube/bin/answer.py?hl=en&answer=57924

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • There we have to use AIA instead of any other common object model

    Hi all

    Someone can there, we have to use AIA instead of the other models? whts the diff between integration using SOA with AIA?

    Thank you
    RA

    Hello Ra,
    AIA is not canonical model about. This is your path to SOA and Foundation pack offers best practices, of the main components and [SOA governance framework | http://blogs.oracle.com/aia/2009/03/soa_content_and_technical_gove.html]. AIA EBO (Enterprise Business Objects) are canonical representation based on industry standards. Take a look at articles in [Blog AIA | http://blogs.oracle.com/aia/2008/12/do_i_really_need_aia.html] and similar display in this forum discuss in detail.

    concerning
    Rohit

  • Links of images imported from a CSV file into a SQL table using phpMyAdmin

    I have .csv with five areas, the first is images.

    images150/9310VSony02.jpg.

    This imported into a sql database using phpMyAdmin (first time user) table called rsIMAGESTEST.

    Using Dreamweaver is applying insert for php objects/dynamic Table/Recordset XXX pages

    The table is at - he saw in explores the image url is displayed rather than the jpeg format. image.

    The rest of the data in other areas is fine stright txt. Please can someone explain what I am doing wrong.

    Flowing is the sql I can to get what we need to change?

    @mysql_select_db ($database_pauls, $pauls);

    $query_Recordset3 = SELECT * FROM rsIMAGESTEST;

    $Recordset3 = mysql_query ($query_Recordset3, $pauls) or die (mysql_error ());

    $row_Recordset3 = mysql_fetch_assoc ($Recordset3);

    $totalRows_Recordset3 = mysql_num_rows ($Recordset3);

    To view the image, you must pass the value of the recordset to the src attribute of the tag. Assuming that the domain name is 'image ':

    
    

    You can also use Insert a picture. In the dialog box select the Source Image, the value of "Select file name of" to "Data Sources." You can then select the domain name correct of your recordset.

  • How to load specfic column in the csv file using sql loader

    I have a table with three columns

    create table stg_tab (V_TRADE_CODE varchar2 (200), v_dta_rif date, number N_FAIR_VALUE_TARGET);

    and a CSV data with 10 columns, fields are separated by '; '.

    but of this I want to 1st, 4th and 5th column alone to be loaded in this table.

    two examples of reference in the file line is csv

    0000000096; 1030443793MMX583299; SELB;7/31/2014;-82441.02; EUR; 5; MarkToMarket; New; Assessment,

    0000000118; DBUFHT4ZF9PPQ02U12742:119; SELB;7/31/2014;-23063.89; EUR; 5; MarkToMarket; New; Assessment,

    How to write the control file to load data from csv, pleae help me file.

    DOWNLOAD THE DATA

    INFILE "D:\"... »

    BADFILE ' D:\... '

    IN TABLE

    ADD

    FIELDS TERMINATED BY '; '. SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (,

    filling of land,

    filling of field1,

    ,

    ,

    field3 filling,

    Field4 filling,

    sphere5 filling,

    filling the case Field6,

    Field7 filling

    )

  • Create one or more files using PL - SQL

    Hi Experts,

    I have a table that contains records of 360 and want to create several files each containing 12 archive file.

    I tried to use the code below, however has been missed...

    Help, please!

    DECLARE

    NUMBER NUM: = 1;

    f_file UTL_FILE.file_type;

    row_sm NUMBER: = 0.00;

    CURSOR c_cur

    IS

    SELECT customer_key, all_columns_concat

    DEMONSTRATION;

    c_rec c_cur % ROWTYPE;

    BEGIN

    OPEN c_cur;

    LOOP

    EXTRACTION c_cur

    IN c_rec;

    OUTPUT WHEN c_cur % NOTFOUND;

    While num = c_rec.file_num

    LOOP

    f_file: = UTL_FILE.fopen ("DM_DIR", "FILE_" | num, 'w', 3267);

    NUM: = num + 1;

    END LOOP;


    UTL_FILE.put_line (f_file, c_rec.all_columns_concat);

    row_sm: = c_rec.sum_row + row_sm;

    END LOOP;


    UTL_FILE.fclose (f_file);

    NARROW C_cur;

    END;

    Kind regards

    Delight.

    -Created the 29.10.2013 by RAMIN. H

    declare

    cursor cur_select is

    Select f, f_num, lag (f_num) on prev_f_num (control f) -! Watch

    from (SELECT level f, ntile (9) on f_num (level control) FROM dual connect by level)<=>

    rec_cur_select cur_select % ROWTYPE;

    n number;

    f utl_file.file_type;

    Start

    n: = 12;

    Open cur_select;

    loop

    extraction cur_select

    in rec_cur_select;

    When the output cur_select % NOTFOUND;

    If (rec_cur_select.prev_f_num is not null and rec_cur_select.prev_f_num! = rec_cur_select.f_num) then

    UTL_FILE.fclose (f);

    end if;

    If (rec_cur_select.prev_f_num is null or rec_cur_select.prev_f_num! = rec_cur_select.f_num) then

    f: = utl_file.fopen ('GL_OUT', 'file': rec_cur_select.f_num, 'W', 3267);

    end if;

    UTL_FILE.put_line (f, rec_cur_select.f);

    end loop;

    close cur_select;

    UTL_FILE.fclose (f);

    end;

    ----

    Ramin Hashimzade

  • Delete a file using PL/SQL

    Hi Experts,

    We will create text files in the path of the oracle directory.

    I need, like I want to delete these files in the path of the oracle directory.

    Is this possible. If so please suggest me to do.

    I use Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64-bit r2 Production1g

    Thank you.

    Hello

    You can use utl_file.fremove

    See UTL_FILE

Maybe you are looking for