Copy of data from oracle to *.csv

Hello

I have Oracle XE on my Red Hat Linux dedicated server. I want to generate a *.csv for a specific instruction file.

Help, please

Is the best

Hello

You can can solutions if search you in the forums. See the link below
Create a CSV file

-Pavan Kumar N
ORACLE 9i / 10g - OCP
http://www.oracleinternals.blogspot.com

Tags: Database

Similar Questions

  • PowerVault MD1000: Attached directly slow to copy the data from storage.

    Hi all

    I have a powervault MD1000 attached to a PE2900 using scsi. When I write for the PV everything is ok, but when I want to read it, for example copying the data from it, he grinds the server stops and usually falls!

    can someone advice could be what the problem?


  • Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving the Manager does not work, can you please help me. Thank you

    Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you

    Hello

    The setting should be as below, and not only the port number should be...

    PORT 7809

    Kind regards

    Veera

  • Possibility to integrate data from Oracle EBS in Amazon cloud Cloud of planning via FDMEE

    Hi experts,

    I just entered a case more about FDMEE.

    I want to know is it possible to integrate data from Oracle EBS on Amazon cloud TO cloud of planning by FDMEE.

    Oracle EBS (Amazon Cloud)-> FDMEE-> planning and budgeting of the Cloud Services

    Please let me know about the opportunity and the necessary measures to be taken for the integration of the data.

    ~ Thank you

    They are separate environments first - an existing one in Amazon Cloud and another within the Oracle offer. Oracle allows not currently SEEP for connections to a system of source book, the only option available is a function file upload.

    I think, in part because they do not want to expose SEEP to the external environments for reasons of maintenance and security.

  • Extract data from Oracle into excel file

    Hello

    I have a requirement where in I need to extract data from Oracle into excel file and the worksheet excel name should be 'given '.
    for example. Excel 'AR Data_DDMMYY' file name and the name of the "Data" sheet excel

    I used the UTL_FILE API to extract the data delimited by tabs that you can open in excel, but it's not exactly an excel file as the name of the worksheet is the same as the name of the file.

    I tried to use utl_file.fcopy and frename.

    Is it possible to do it using PLSQL?

    Select * from version of v$.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Example Code:
    declare
    cursor c is
    select * from scott.emp;
    v varchar2(100);
    f utl_file.file_type;
    
    file_name varchar2(100) := 'AR Data.xls';
    dir varchar2(50) := 'CESDIR191710';
    
    --select * from dba_directories
    
    begin
    
    
    f := utl_file.fopen(dir, file_name, 'W');
    
    v := 'EMPNO'||chr(9)||'ENAME'||chr(9)||'JOB'||chr(9)||'SAL'||chr(9)||'HIREDATE'||chr(9)||'DEPTNO';
    utl_file.put_line(f, v);
    
    for i in c
    loop
    
    v := i.empno||chr(9)||i.ename||chr(9)||i.job||chr(9)||i.sal||chr(9)||i.hiredate||chr(9)||i.deptno;
    utl_file.put_line(f, v);
    
    end loop;
    utl_file.fclose(f);
    
    --utl_file.frename(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls', false);
    utl_file.fcopy(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls');
    
    end;
    Thank you
    Imran

    Hello

    I tried to change the .xlsx to .xls and it gives a note at the opening of the file "the file you are trying to open, abc.xls, is in a different format that it is specified by the file extension. Check that the file is not corrupted and precedes from a trusted source before you open the file. Do you want to open it now? »

    When you rename the file does not solve your problem.
    Anton Scheffer package generates a file in format xlsx Office 2010. When rename you it with the .xls extension, then Office 2010 will give you the warning that the file format does not match the extension.

    but the requirement has to generate excel 2003 file.

    The xml_spreadsheet package writes a format that was introduced with Office 2003, but you must use .xml as extension in other Office 2010 will give you the same caveat.
    To write the real xls version (binary), you can use Apache POI. You will need to import Java classes in your db and write a PL/SQL wrapper. Or you can use one of the options above, writing the output to a windows server and then use Excel to open and save in the required format.

    You must decide whether it is easier to write the binary xls format or to convince the customer to accept other formats that can be opened with Excel.

    Concerning
    Marcus

  • Copy the data from CollaborateSync to the other pc

    Because Acrobat crashes sometimes, I would like to copy the data from CollaborateSync to a PC Backup. This means that I have shared a pdf with PC A one form I'd like to get answers on the PC B, too.

    I tried to copy the Synchronizer-folder "documents and settings" - folder but I can't get answers.

    What information should I copy can I geht PC B answers?

    Klaus

    Find the file "Workflows" in Acrobat under Documents and Settings folder. It is located inside the folder "Collab. If this file is missing, copy the folder "Synchronizer" will not do anything good.

    In addition, copy "Forms" folder as well.

  • How to transfer data from oracle to the web service using ODI with axis2 tech

    Hi all

    Can someone cause a document or markets about 'How to transfer data from oracle to the web service with the help of ODI with AXIS2 technology'
    If any person with a document or markets, please share it with me

    Thank you
    Phani

    I can give you a few examples of web services in ODI, perhaps that you find them useful?
    Try: -.
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-3.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-4.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Copy the data from the selected record line

    Hello I use Oracle Forms Builder 10g.

    I want to copy a line from a record that populated the request but that the first lines can be copied when I click on it. I want to know how to copy the specific line-specific data when I click it. Thank you.

    Untitled 1.png

    using

    GO_RECORD(:SYSTEM.) MOUSE_RECORD);

    the current selected row updates as you click mouse a line. «: SYSTEM.» MOUSE_RECORD' gives you the line number of the recording, you click and it gives a value of '0' char if you click outside the record block.

  • How to copy the data from Palm Desktop on a PC running Windows 8.1

    If like me you still find the Palm Desktop data (addresses, calendar, notes, etc.) handy and use it long after throwing the combined capacity and 'sync', you can see this is useful.  I bought a new PC running Windows 8.1 and had problems with data transfer due to a problem as I understand it, which does not exist in Windows XP, Vista or 7 versions.  Here is a summary of a way to easily transfer data from these earlier versions if you have a USB flash drive (or Dropbox, Google Drive, whatever) very convenient:

    (1) Download Palm Desktop 6.2 or 6.2.2 to your new PC.  Give a user name exactly as it exists in the database from your old PC.  This name will serve as Office Automation to create a folder name of six letters (an abbreviated version of your name) to hold the data that Palm Desktop will turn upward.  Wait a few seconds for this to happen, and then close the application on your new desktop.

    (2) in your old PC you want to transfer data from, find the folder named "Palm OS Desktop" which should exist in 'Documents' under path of folder and subfolders 'Users' as > your subfolder name > Documents in Windows 7 (can also be Vista) or may be under "Documents and Setting" folder in Windows XP.

    (3) in this folder "Palm OS Desktop" search this subfolder of six letters of your name and select this whole subfolder and select 'Copy' or Ctrl-C

    (4) locate the same name of subfolder in your new PC (which will have data zero), delete and then 'paste' the subfolder you "copied" in the exact same location.  If you did it right, Viola!  Your new desktop PC should display all the transferred data, once you open the application again.

    Most of the same procedure works with PC Windows 8.1 (probably also Windows 8).  What I found different is that the subfolder of data created under "Palm OS Desktop} had 7 instead of 6 characters with a"0"(zero), added as the last character.  When finally, you copy and paste this subfolder in the new PC there so rename and add "0" for the Palm Desktop to locate these data.

    I hope this helps.

    Data in XP is located in C:\Program Files\Palm (or PalmOne) \ < your HotSync name truncated > \Backup.

    HotSync for Win8 has been available for quite a while now!  See the post at the beginning of this section called "64-bit Windows USB drivers for Palm Desktop" for instructions and driver downloads.

    Palm Desktop 4.x and 6.2.2 use different database formats - 6.2.2 went to .mdb as an extension.

    Best way to migrate data is to perform a HotSync on the new machine, or use the built-in in Palm Desktop Export/Import option.  Export the addresses and calendar files, and then copy those of the new machine.

    The import option to retrieve data.

    WyreNut

  • How to copy the data from the indicator table 1 d to the Clipboard

    Is it possible to copy data from table 1 d indicator to the Clipboard as a text and for more than one cell?

    I use LV8.6.

    Leszek

    Sorry, I wasn't sure if it was available in 8.6, apparently not.

    You could create an indicator of fine print and use 'picture to a worksheet string' to complete. Now, you can just cut & paste the text instead.

  • Copy the data from two rows together in a new line

    Hello everyone.

    I have a question for copying data from two lines together in a new third line.

    See this short example:

    This is the current situation. The lines STATE_1 and STATE_2 contain different information separate.

    In the past data were recorded at random in one of these lines.

    It's the state table:

    ID Cust_id STATE_1 STATE_2 STATE_3
    188Customer is waiting.Call since yesterday.
    211Mr. Smith, no answer.Wait until December
    311Pls Create PO.Old PO has been cancelled
    45No access to the system.

    Now, everything must be recorded in the STATE_3 void, but I also need than the old entries from the past which must also be copied together in STATE_3

    Like this:

    ID Cust_id STATE_1 STATE_2 STATE_3
    188Customer is waiting.Call since yesterday.Customer is waiting. Call since yesterday
    211Mr. Smith, no answer.Wait until December.Mr. Smith, no answer. Wait until December.
    311Pls Create PO.Old PO has been cancelled.Pls create in. old PO was canceled.
    45No access to the system.No access to the system.

    Y at - it an SQL-easy order?

    Thanks for any help.


    What:

    update set state_3 = state_1 State | » '|| state_2;

    ?

  • Error loading data from Oracle 10 g to Excel

    Hello gurus,

    I get the error when loading data from the Oracle 10 g database table to Excel.
    I use SQL TO ADD SQL IKM.
    Staging area is different from the target and I use the same pattern sense to source and put in scene.
    Please help me...

    Error is

    0: S1000: sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
    sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.executeBatch (unknown Source)

    at com.sunopsis.sql.SnpsQuery.executeBatch (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)


    Kindly help me...

    Thanks in advance.

    Samuel

    Hello

    When you created the DSN for the spreed excel worksheet you dot not uncheck the read-only box.
    Make sure that the read-only checkbox is not checked, otherwise you will get an error message when trying to insert data into the Excel worksheet (error: "[Microsoft] [ODBC Excel Driver] operation must use an update query.").

    Thank you
    Fati

  • ODI or FDM to extract data from Oracle ERP

    I want to extract data directly from Oracle ERP GL module in HFM. I use ERPi and ODI. Should I also use FDM to retrieve the data, or if I can load data in HFM using just ERPi and ODI?

    I finished the configuration of the ERPi and I am currently in the process of installation and configuration ODI.

    All entries on the best practices that I have to follow during the configuration of ODI?

    You don't need to use FDM. ERPI can load directly to HFM as a stand-alone product and you still get the feature drillback. Use FDM, if you need additional features that offers for example validation of intersection, to check the reports, logic etc.

  • Loading data from Oracle to MS SQL SERVER

    Hello

    Source: Oracle
    Target: MS SQL
    ODI:11 g


    I want to create an interface that loads the data from the source table in Oracle in the target table in MS SQL Server. Can any body tell me what LKM, IKM and CKM I use for the same.

    Any help will be appreciated.

    I thank you,
    Shrinivas

    Hi gisele, you can follow below KMs

    1 LKM SQL for SQL

    2 CKM ORACLE

    3 IKM SQL Incremntal update (Insert and update) / IKM SQL command APpend (insert only)

    It will be useful.

    Thank you

Maybe you are looking for

  • Can I create a folder in the tree diagram that shows only unread messages?

    Currently, I put rules in place to filter messages in several different folders. But I want to be able to read all new messages in the order they are received, regardless of who they are or this folder they have been filtered in. That's why I want a

  • Live streaming video is not displayed

    When I connect on this site, everything displays correctly except that where the camera feed is supposed to be there is only a white square.

  • How can I install "Bulletin Board assist?

    He asked me to be a Director, even if I run 'as administrator' installation files.In the 'properties', each file has full access for everyone. Post edited by: gerdich

  • HP Hp ENVY 6-1040ca: 6-1040ca Hp ENVY fan does not

    Hello world I wanted my 6-1040ca for for 2 years now, and my laptop has suddenly started to overheat. After that I started to have an error on my laptop every time I started my laptop I got the error message fan system (90 b) at startup. First I thou

  • Some installers sometimes crash

    It all started when the Windows Setup program crashed when installing VirtualBox (the package was clean, because it installed successfully on other PCs). Had the same problem with the installation of .NET Framework (version 4.0 or 4.5). Then I re-ins