QUery data to BLOB file and upload from APex

I have query that populate 68k records
Example Query is
1) Select empno,ename from emp;
table for Blob is
SQL> create table dummy_blob
( blob_id number ,
, blob_content_type varchar2(30)
, blob_size number
, blob_filename varchar2(100)
, blob_desc varchar2(100)
, the_blob blob );
What I need is
1) from html DB i need to place a button
When user press the Button
I need to call the database Package
and execute the query and store in BLOB table
2) After the query executed and writes the data in Blob Tables
I need to refresh the APex Screen Done
and Display the Report type as
ID File
with Download button
3) when user press the button pop up file_browser
and save it to xxx.csv file

any help plz

Similar Messages

  • HT1918 I cannot access files I uploaded from an old computer.  The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address?

    I cannot access files I uploaded from an old computer. The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address and username?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • How can one  read a Excel File and Upload into Table using Pl/SQL Code.

    How can one read a Excel File and Upload into Table using Pl/SQL Code.
    1. Excel File is on My PC.
    2. And I want to write a Stored Procedure or Package to do that.
    3. DataBase is on Other Server. Client-Server Environment.
    4. I am Using Toad or PlSql developer tool.

    If you would like to create a package/procedure in order to solve this problem consider using the UTL_FILE in built package, here are a few steps to get you going:
    1. Get your DBA to create directory object in oracle using the following command:
    create directory TEST_DIR as ‘directory_path’;
    Note: This directory is on the server.
    2. Grant read,write on directory directory_object_name to username;
    You can find out the directory_object_name value from dba_directories view if you are using the system user account.
    3. Logon as the user as mentioned above.
    Sample code read plain text file code, you can modify this code to suit your need (i.e. read a csv file)
    function getData(p_filename in varchar2,
    p_filepath in varchar2
    ) RETURN VARCHAR2 is
    input_file utl_file.file_type;
    --declare a buffer to read text data
    input_buffer varchar2(4000);
    begin
    --using the UTL_FILE in built package
    input_file := utl_file.fopen(p_filepath, p_filename, 'R');
    utl_file.get_line(input_file, input_buffer);
    --debug
    --dbms_output.put_line(input_buffer);
    utl_file.fclose(input_file);
    --return data
    return input_buffer;
    end;
    Hope this helps.

  • Can Verity/Solr index files AND columns from db into one resultset?

    Hi,
    I have a form where users upload a document and also add some meta data that goes with the document.  I currently store the meta data in the db and the actual document on the file system.
    How can I use Verity/Solr to index files and columns from a database table so it will return one recordset?
    -ws

    <cfindex type="file"> should do the trick, shouldn't it?
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7d 04.html
    Adam

  • Export Table to flat file and upload to FTP server for external vendor

    I have done some extensive searches on the forums and I think I have an idea but really need some help. Basically have a table that needs to be exported to a flat file and uploaded to a FTP server so that our vendor can get the data Monday-Saturday and automated by sysdate. This data is used to produce daily letters that go out to customers.
    After doing some searching I came across the UTL_FILE package and reading more into this right now but I am not sure if it is what I should be using to create the file.
    I am using TOAD right now and can see how to do it manually however really need the file to create itself and send automatically at 6 am Monday - Saturday with the date at the end of the file name making it a unique file for each day.
    Thanks in advance for all of your help.

    As Justin and others have mentioned I wrote [XUTL_FTP|http://www.chrispoole.co.uk/apps/xutlftp.htm] so you wont find it in the Oracle documentation. It's pure PL/SQL and uses UTL_TCP and implements an integrated PL/SQL FTP client / API. One of it's many overloaded procedures FTP's the contents of a refcursor straight to a FTP server of your choice, meaning no intervening file is required. Since it is pure PL/SQL, it is trivial to schedule using DBMS_JOB/DBMS_SCHEDULER.
    Any questions just ask.
    HTH Chris

  • HT1923 This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, and Users.

    This article contains the only thing that worked for me.  I also had to sign out of iCloud and uninstall it.  Then I had to delete all files and folders from all of those applications that were under Program Files, Program Files x86, Program Data and Users.  My iPhone 4 will now sync with iTunes both in its USB-connected  mini dock and over Wi-Fi.  It's unfortunate (negligent programming on the part of Apple?) that the upgrade to iTunes 11 did not remove all of those files as part of the upgrade process. 

    I am having the same issue....Same address for years - same as USPS - I tried 5 times (3 macs and 2 iPhones) and now i have 5 CHARGES for 1.00 each on my credit card. I took the credit card info off so they don't charge me anymore. How can they charge me yet still not allow me to download free updates and say I have an invalid address? I'm sure I will spend weeks or months trying to get a credit out of these incompetent idiots.

  • I accidentally deleted my photos; how do I download my files and photos from Adobe Online Storage?

    I accidentally deleted my photos; how do I download my files and photos from Adobe Online Storage?

    So i think backup online the the most effective way to protect data loss!
    If you found you have lost your important files, you can just download it from the online server.
    And if you delete your files from hard disk and cannot download it from online storage, there is still another way-data recovery software to recover your lost files.

  • I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step

    I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step
    Attachments:
    this is a java file changr the jpg to jar .jpg ‏101 KB

    I'd recommend searching the forums to find your answer.  http://forums.ni.com/ni/search?submitted=true&q=java+labview

  • Creating TXT file and upload to portal

    Hi All,
    I am working on creating a report which takes the balance sheet backfeed and creates a unix file in background and mails the spool file to particular user.
    I have developed this much. But now I have to extend this to reading that file and create a .txt or .csv  file and upload it to a portal.
    can anyone help me on how to  achieve this.
    Thanks,
    Shubham

    Hi Shubham,
    Download spool as .txt with FM RSPO_DOWNLOAD_SPOOLJOB.
    Mention file as .txt
    Thanks,
    Anil

  • Choose a file and upload... impossible on iPad2

    Choose a file and upload seems impossible on my iPad2....
    No flash is also a problem
    I think to purchase an Acer Tablet in Windows 7 to avoid the suprises of altnative OS....
    Andre / Belgium

    Hi,
    I don't understand Apple's strategy here. They could enable the upload button in safari in a way that access to OS is still not possible. Why not just browse only in the cloud or in your dropbox. So the user could upload files and there is still no access to OS relevant files. I think that would easily face a need which otherwise lets costumers switch to alternative tabs.
    Is there any thread where user can post enhancement requests for iOS which will be read by apple employees?
    KR Roland/Austria

  • How to move all music files and pictures from Ipod nano to a new Windows computer that was not backed up on an external harddrive, only found on my ipod.

    My windows lap top was recently destroyed to the point of no recovery.
    All of my music and picture files are still located on my ipod and I plan on getting a new windows laptop
    Is there anyway that I can transfer my (unpurchased) music files and pictures from my ipod nano to my new computer?
    The pictures are more important that the music, so if only one is possible, I would prefer that
    I appreciate any ones helpful comments

    Copy the iTunes library from your backup as below:
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.
    Sync with the restored library.

  • Is there an add-on to clearly show that data is being received and transmitted from my PC plus the rate of transfer ?

    Is there an add-on to clearly show that data is being received and transmitted from my PC plus the rate of transfer ?

    I take it you are referring to a alternative to Net Usage Extension which is still being maintained and is current for Firefox 3.6.*
    See https://support.mozilla.com/en-US/questions/750519
    mozillaZine/Sumo mod.

  • How do I transfer files and pictures from my blackberry to my mac

    how do I transfer files and pictures from my blackberry to my mac. My mac does not seem to recognize my blackberry as a devise

    Sounds like a question for Blackberry.
    Check your manual or the Blackberry support site, or Google.

  • What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?

    What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?
    I have a Firewire cable and Thunderbolt adapter, but no icons showing either Mac appear on either desktop.

    The fastest way is to use Carbon Copy Cloner and a external drive formatted GUID OS X Ext. J in Disk Utlilty, then connecting to the new Mac and using Migration Assistant in the Utilites folder.
    Even faster, if you can determine your going to replace all the apps from fresh sources anyway (like if the older Mac's OS X verison is old thus the apps) then just use a external drive and copy just your files to it, then connect to the new Mac and transfer over.
    Some apps you can just grab the registration code and install it fresh on the new machine with the old code, talk to the developer about transfering the program, as long as it's deleted on the older Mac in the process.
    It used to be Firewire Target disk mode was fastest, but since Thunderbolt came out...
    Notice this support doc hasn't been updated since june 2012, no Thunderbolt info
    https://support.apple.com/kb/HT1661

  • I transferred files and photos from MacBook to iMac via ethernet cable and using migration assistant. However every time I transferred, it created a separate user and it transferred all files and photos again and again. So now I have 3 users accounts ?

    I transferred files and photos from MacBook to iMac via ethernet cable and using migration assistant. However every time I transferred, it created a separate user and it transferred all files and photos again and again. So now I have 3 users accounts with all files and photos saved 3 times on same iMac !! Any idea how to avoid this ?

    Yes, you ran into a very understandable problem.
    When you use Migration Assistant, it cannot over-write the account that you happen to be using at the time. Upon migrating accounts, it will tell you that it is going to create a new one, but that message is easy to miss.
    If you have three identical accounts, log in to the account you want to keep, and delete the redundant ones in System Preferences > Users & Groups.
    Now that you know, the easiest way to migrate accounts is to use Setup Assistant when you first get a new Mac. That eliminates any possibility for this to occur, but most people are so eager to use their new Mac that they elect to migrate later.
    That's OK too, but in that case you would want to create a temporary account whose sole purpose is to run Migration Assistant so that you may migrate your old one with an identical name. Be sure to give the new account Administrator privileges. When that finishes you would log in to the newly migrated account, and delete the temporary account.

Maybe you are looking for

  • Open PO Standard Report

    Hi Experts Need help, I actually need a standard report if available in SAP to generate all Open POs list for all vendors.  Help me with T.code. Regards Younus

  • Javascript to create vector from image and save as eps

    Hi, I started writing a script which open all images in a folder and i need to turn those into vectors. How do i write the following in JavaScript: Open the JPG file Select the image layer/object Create a vector from the image using the Image Trace f

  • Widgets in dock enlarged

    Just today after having my Mac for about a year the Widgets in the dock are getting bigger when you move the mouse over them. I have no idea what cause dthis to happen any ideas why and how to change it back Thanks

  • Scaling images in PDF files.

    I apologise if this is the wrong place to post this question but I cannot see any more appropriate discussion group. When creating a book type PDF I want to be able to show image files within pre-determined window sizes but retain the original size o

  • Query to find 1:N relation from a table

    Hi, I have a table where Material# & Item# are stored. Now Material# & Item# are related in 1:N. e.g. (data) MM# ITM# ..... <other attributes> M1 I1 ..... <data for other attributes> M1 I1 ..... <data for other attributes> M1 I2 ..... <data for other