How to - extract query result set in CSV and make multiple files if result set is huge.

I have a query which returns millions of rows. I need to extract those rows in CSV files. Having said that i want to keep these files under a limit of 500 MB . Result set can be distributed among multiples files but each file can not be > 500 MB in size.
How to achieve this?

You may use this standard! procedure from Blushadow and produce something useful for your need. https://community.oracle.com/message/6499123#6499123

Similar Messages

  • How to extract data from SAP 4.7 and upload data to SAP ECC 6.0

    Hi,
        How to extract data from SAP 4.7 and upload data to SAP ECC 6.0? Can i use BDC,BAPI,LSMW? Help me please.

    hi
    good
    both works not possible simultaneously.
    If you want to do it in two separate task than you can use the GUI_UPLOAD function module to fulfill your requirement.
    thanks
    mrutyun^

  • How do you Customize the weather on the home page and make it default to that setting? I have Customize several times and it keeps changing back to McLean, VA in English

    How do you Customize the weather on the home page and make it default to that setting? I have Customize several times and it keeps changing back to McLean, VA in English.
    [email protected]

    '''''What''''' webpage do you have set as your homepage? <br />
    Are you saving cookies for that page?

  • When i try to restore my ipod touch 4g itunes keep telling me that to make sure that my network setting is correct,and make sure that i connected to the internet ?

    when i try to restore my ipod touch 4g itunes keep telling me that to make sure that my network setting is correct,and make sure that i connected to the internet,wht is that supose to mean i allredy connected to the inter net but i dont know how to make sure that my network sitting is correct help me plz

    Try:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

  • How to read multiple files and generate multiple files

    Dear all, I would like to process some LTE measurement files. Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    Attachments:
    RF Analyze IQ File.vi ‏46 KB

    There is no official "bin" format and I am confused by some of your statements:
    Kiwibunny wrote:
    Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
    What you could do is use "list folder" with *.bin as pattern, and use a FOR loop and iterate over all *.bin files found in a selected folder.
    In any case, your code uses some weird constructs and you seem to do way to much. Are you using "continuous run" mode? Don't!
    Use a proper state machine instead ot these stalling loops. Why do you need to query the queue after each enqueue? Why do you need a queue at all?
    LabVIEW Champion . Do more with less code and in less time .

  • How can I copy a double-sided document and make double-sided copies on an officejet 6830?

    how can I copy a double-sided document and make double-sided copies on an HP officejet 6830?

    Hi,The 6830 only provide double sided printing, it does not offer 2 sided copying, a such can only be done manually. You may find the printer specifications below:Scanning options (ADF): Single-sidedhttp://store.hp.com/UKStore/Merch/Product.aspx?id=E3E02A&opt=A80&sel=DEF#merch-tech-specs Regards,Shlomi

  • I created a new collection and put all of my same photos in them as a previous collection, then I changed them to black and white and both collections changed. How do I keep the first collection colour and make the second collection black and white.

    I created a new collection and put all of my same photos in them as a previous collection, then I changed them to black and white and both collections changed. How do I keep the first collection colour and make the second collection black and white.

    For the second collection, choose the option to make virtual copies. Then you can turn the virtual copies to black & white, leaving the first collection in color. If you want file copies of the B & W images you can export copies.

  • How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    Did you check the help page for Correct Camera Distortion and Process multiple file
    Correct Camera Distortion: http://helpx.adobe.com/photoshop-elements/using/retouching-correcting.html#main-pars_headi ng_5
    Process multiple files: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • How can I cancel my apple ID account and make a new one

    How can I cancel my apple ID account and make a new one

    You can't cancel it. Stop using the old one.
    (68864)

  • My photos are  showing on my Apple TV and I don't want them to.  How can I get them off Apple TV and make sure this does not happen again?

    My photos are  showing on my Apple TV (I assume through the iCloud) and I don't want them to.  How can I get them off Apple TV and make sure this does not happen again?

    Welcome to the Apple Community.
    Settings > iCloud > iCloud photo settings, then turn off photostream and photo sharing.

  • I am selling my 5S I phone and need to wipe all my data off it. How do I reset it to factory settings and make sure all my data is errased

    I am selling my 5S    I phone and need to wipe all my data off it. How do I reset it to factory settings and make sure all my data is errased

    Here's what you do: What to do before selling or giving away your iPhone, iPad, or iPod touch

  • How to extract HRM master data from R/3 into LDIF file?

    Recently I have been asked to provide an extract from our R/3 system
    with some Human Resource master data. The extract has to be in the LDIF
    format (LDAP data interchange format). It is needed to import into a
    DirX metahub solution from Siemens.
    How can this be done most easily?
    (does SAP provide tools, can XI do this?) or do we have to write a
    customized abap to do this?
    Thanks in advance
    Kind regards
    Alex Veen

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • Setting the max and min bounds of a result set

    I'm trying to set the upper and lower bound values of a result set. Meaning, I want to limit the values in my result set to not be below/above a certain number, BUT I want any number in my result set that is below/above the lower/upper bound that i have designated to be decoded to the lower/upper bound number that I have designated. Here's an example to help clarify:
    WITH temp_table AS
    SELECT 1231.12 AS col FROM dual UNION ALL
    SELECT 1001.00 FROM dual UNION ALL
    SELECT -32.0 FROM dual UNION ALL
    SELECT -3.0 FROM dual UNION ALL
    SELECT 332.0 FROM dual UNION ALL
    SELECT 211.0 FROM dual
    SELECT CASE WHEN col < 0 -- 0 is the lower bound
                THEN
                     0
                WHEN col > 1000 -- 1000 is the upper bound
                THEN
                     1000
                ELSE
                     col
           END as desired_result
    FROM   temp_tabledesired result set:
            DESIRED_RESULT
         1000
         1000     
            0
         0
         332
         211I was wondering if there was another function or method of achieving my desired result set without having to use a CASE statement? I have to do this to several columns, and it doesn't seem very efficient to throw a CASE statement around each one.

    LEAST and GREATEST will do that too :
    SQL> WITH temp_table AS
      2  (
      3   SELECT 1231.12 AS col FROM dual UNION ALL
      4   SELECT 1001.00 FROM dual UNION ALL
      5   SELECT -32.0 FROM dual UNION ALL
      6   SELECT -3.0 FROM dual UNION ALL
      7   SELECT 332.0 FROM dual UNION ALL
      8   SELECT 211.0 FROM dual
      9   )
    10  SELECT least(greatest(col, 0), 1000)
    11  FROM temp_table
    12  ;
    LEAST(GREATEST(COL,0),1000)
                           1000
                           1000
                              0
                              0
                            332
                            211
    6 rows selected
    I have to do this to several columns, and it doesn't seem very efficient to throw a CASE statement around each one.Any test case showing CASE as not efficient?
    Edited by: odie_63 on 25 juil. 2012 23:20

  • How to extract one of several audio tracks from a .vob file?

    Hi guys,
    hope you can help me, i'm looking for a solution for hours now but can't find one.
    I would like to know how to extract one audio track from a .vob file when there are different tracks/languages on the dvd? Media encoder does it very well, but i can't find the option for choosing the right audio track/language for extraction. Please help
    Kind regards
    Alex

    This is because the OMF specification requires mono audio files
    It really depends on what you are trying to do with the two tracks as to the best answer as far as 'grouping'
    You could select all the clips on both tracks and right mouse click and select 'group'
    You could send both tracks to a bus
    You could export the two tracks to a stereo file and bring that back into the session
    Lots more things I'm sure but a little more detail as to what you are trying to do would help

  • How to display query variable in text element and format the text element

    Hi All,
    I want to display the value of the value of variable against fiscper3 and the value of the variable against 0fiscyear in the web application template from the query in the text element in the web template in BI 7 Web application designer.
    Also, in the web application designer I need to format the text element in the web application designer to set the text element to center the display change the size and make it bold. I am bit lost I cannot find these properties in the web application designer against the text element.
    Appreciate if you could kindly help.
    Thanks
    Karen

    Hi
    hope below tags would help you
    Re: Search by text on a variable
    Re: Need to display text part of TEXT variable in query designer
    regards
    nag

Maybe you are looking for

  • Trying to load a javascript link from text file into a dynamic textfile

    Can anyone help me with this problem? Im trying to load in a newsfeed from freshcontent.net into my text field. If i put this javascript link on an html page, the page shows correctly, which is im supposed to get 3 dynamic links with news content hea

  • How to cancel workflow programmatically in sandbox environment

    Hi, I have 3 workflows asscociated to a form library in our sandbox environment. Is it possible to cancel the running workflows / mark the status to cancelled for overall workflows and respective tasks programmatically rather than using Designer or p

  • How Do I Create A Link To  A Different Page?

    I'm using the v10.1.2 Portal. I created 6 Oracle Portlets implemented using JSP. I then created 2 pages within the same page group. On page 1 I put Portlet_1a, Portlet_1b and Portlet_1c. On page 2 I put Portlet_2a, Portlet_2b and Portlet_2c. In Portl

  • Error on reverse on XML: value too large for column

    Hi All, I am trying to reverse engineer while creating the data model on XML technology. My JDBC URL on data server reads this: jdbc:snps:xml?d=../demo/abc/CustomerPartyEBO.xsd&s=MYEBO I get an error while doing the reverse. java.sql.SQLException: OR

  • Database procedure with IN/OUT parameters

    Hi, I have a procedure with multiple OUT parameters, but I do not know how to get the values of these out parameters in the calling procedure. What I mean is I can simply get the value of a function from a calling procedure as:- declare val1 number;