Can i insert doc/pdf/excel file to table using the INSERT query ?

Hi,
can i insert doc or pdf file to table by using INSERT query like we can insert char/numeric values by using INSERT query. But how how can i pass my word file that is placed at some location of my file system ?Is this possible ?

EdStevens wrote:
user12222356 wrote:
Hi,
can i insert doc or pdf file to table by using INSERT query like we can insert char/numeric values by using INSERT query. But how how can i pass my word file that is placed at some location of my file system ?Is this possible ?I've never worked with blobs, so don't know if this is the best way or not, but at least it is a starting point.
(Hint: It was the first hit that came up when I googled "how to insert blob into oracle table")
http://arjudba.blogspot.com/2008/06/how-to-insert-blob-dataimage-video-into.html
Did not understood this very first statement:
1)Create Directory Where BLOB resides.
create or replace directory temp as '/oradata2';what is its purpose?

Similar Messages

  • Upload multiple excel files into tables using APEX

    Hi folks,
    I'm wondering if anyone has ever uploaded multiple .csv files simultaniously and store the data into the database using APEX XE before.
    I can browse for a single file, and execute that okay and a good example of doing that can be found at http://advait.wordpress.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    This works fine when the user browses to a specific file on their network and then uploads the data from that one file.
    However I need the ability to 'grab' every file in a specific directory one after the other to process rather than having to specify which one to load everytime, and wondered if anyone has come across this before.
    Many thanks
    Graham.

    Just for completeness ...
    Got this to work, but it's a pl/sql issue as opposed to an APEX issue.
    Anyway, if anyone needs to have the ability to read multiple files then a quick easy way to do it (as lomg as they know the file names that will be read), is to create a directory on the database which points to the actual harddrive on your PC, then create a table (called an external table) and read from that external table as if it was an actual database table ...
    1 - Log on as sys and grant CREATE ANY DIRECTORY to whatever user you are logging in as (assuming you are not using sys to create apps)
    2 - Create a directory e.g....CREATE OR REPLACE DIRECTORY GB_TEST AS 'c:\gbtest';
    3 - Create an external table as ...
    CREATE TABLE gb_test
    (file_name varchar2(10),
    rec_date date
    rec_name VARCHAR2(20),
    rec_age number,
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY GB_TEST
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    LOCATION ('data1.csv','data2.csv','data3.csv','data4.csv')
    PARALLEL 5
    REJECT LIMIT 20000;
    That's it then ...
    select * from gb_test
    where file_name = 'xxx'
    will return all the data where the file_name = 'xxx'
    very easy to use.

  • Can I split a PDF / PCL file when generating using Crystal Report

    Hi,
    I can generate a big PCL file from sending it to a PCL printer from Crystal. Can I add something to split the PCL file while generating it from Crystal?
    Any pointers towards splitting a PCL would be appreciated.
    Thank you
    Deepa

    Hi Deepti
    Crystal Reports is just a tool to present the data.
    Unfortunately there is no functionality to instruct to split the report pages while sending to the printer that too automatically from Crystal Reports Designer Stand Alone application.
    You can select the page range according toyour requirement.
    Regards
    Sourashree

  • How can I set a default save file for scans using the Solution Center?

    Using Windows 7 - 64 bit.   HP Photosmart Premuim C-309a All-In-One Printer.
    Because of a Windows crash, I had to install a new drive and reload Windows. I also reloaded other software like the HP Solution Center & Drivers. My problem is that I can't find how to set a default folder for my scans.  This is NOT mentioned in the user manual but it was originally accomplished by HP Tech Support when the printer was new.  Can anyone relate how to set default folders for my scans?
    Thanks.
    Tango
    This question was solved.
    View Solution.

    Here is a document on how to scan through Windows 7. 
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03476857
    Click either solution center or the icon of the printer on your desktop. Here select "Scanner Actions" (or the analogous selection). When the window pops up from the HP software it should provide you with options for file type (.tiff, .pdf, .jpg) as well as resolution and media size. Here on this page there is also an option for you to go to the advanced options. Using this you can alter the default safe folder. 
    Let me know if that helps you out! 

  • Uploading DOC,PDF etc files and sending it to External user

    Hi,
        I m facing problem in sending doc,pdf,excel files to an external user on his personal email id (gmail,yahoo,etc)as an attchmnent.
        While creating Claim ( T code:- CLM1) the user will attach a file and I want to send it to the external Email ID using 'SO_NEW_DOCUMENT_ATT_SEND_API1' .
        Currently I m not been able to find out the location where the file is getting stored.
    Please guide me on that
    Thanks
    Vinit.

    Hello,
    I saw your question and after reading Tamo's blog, here is the answer to your questions:
    1. how you should initialize the outputstream.
    you do not initialize the outputStream, the Weblogic container does that for you, the call response.getOutputStream() returns a ready to use stream.
    2. what should I do with the outputstream after that, I mean how to show to user. do I need another conversion from outputstream to another datatype File forexample.
    you simply flush the output to the client, and the client will render the blob depending on the mimeType. since the output stream writes to the response that is sent back to the client.
    by the way, those two questions has more to do with J2EE than ADF.
    Best Regards,
    Ahmad Al-Zamer

  • Will I be able to transfer files of DOC , PDF, excel and PPT from PC to I-pad Air?

    I have recently purchased I-pad Air. I want to transfer DOC, PDF, EXCEL and PPT files for PC to I-Pad and vice-versa. Will I-tune 10 do the job abd please let me know the steps tp be followed.

    I think that you need iTunes 11.
    You can copy word, excel, powerpoint and/or PDF documents to the iPad, but first you need one or more apps on the iPad that support those document types - unlike a 'normal' computer the iPad doesn't have a file system, and everything on it has to be associated with an app.
    The options include Apple's Pages app for Word documents, Numbers for Excel spreadsheets and Keynote for Powerpoint. And from third-parties apps such as Documents To Go ('premium' version) and QuickOffice. Microsoft have also released apps, but unless you subscribe to Office 365 you will only get read-only e.g MS Word For iPad.
    For PDFs there are free apps such as Apple's iBooks app and also Adobe Reader - and paid-for apps such as GoodReader (which also supports read-only of word and excel documents).
    As to how you then get the file to your chosen app will depend upon what the app supports - different apps will have different ways of copying their content to/from a computer e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via your wifi network, email, dropbox etc. For Apple's Pages, Numbers and Keynote : copying documents via iTunes.

  • Oracle reports to display PDF/Excel files stored in the Database

    can we use Oracle reports to view/display PDF/Excel files stored in the Database? Thanks Lalitha

    A document stored in the database can be easily retrieved in or via the browser using mod_plsql. Simplified:
    select content, mime_type
    into v_blob, v_mime_type
    from ...
    owa_util.mime_header(nvl(v_mimetype,'application/octet'),false);
    htp.p('Content-length: ' || dbms_lob.getlength(v_blob));
    owa_util.http_header_close;
    wpg_docload.download_file(v_blob);So, the link in your report should point to this database procedure.
    Edited by: InoL on Mar 1, 2011 4:17 PM

  • Can't email MS-Word, Excel files

    I am trying to email MS-word and excel files from those programs. I select File, Send to, but the send to mail recipient option is not operative. I can't select it, its not illuminated. Any ideas how to fix this so I can email MS-word and Excel files?

    Hi,
    Whether you use office 2013.
    Considering this .doc file can be smoothly opened in Office if you downloaded it to your local, it indicates that the Word document and Microsoft Word doesn’t have any problems. The issue may be caused by the compatibility between Office
    and your site.
    1.Check whether you have the SharePoint OpenDocuments Class add on enabled at first.
    Internet Explorer >Tools iron > Manage add-ons >
    Choose to Show All add-ons. Find SharePoint OpenDocuments Class and make sure it’s enabled.
    2.go to Compatibility view settings > add your SharePoint site to compatibility view
    3.go to Internet Options,
    Advanced > Reset… > Check Delete personal settings and reset
    Security > Trusted sites > sites > add SharePoint sites to trusted sites
    4.If it doesn’t work, please open Word, go to Options > Trust Center > Trust Center Settings > Protected View > Uncheck all.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • Using an F2100 printer & can't scan to pdf there is no option in the file type menu there used be ?

    Using an F2100 printer &  can't scan to pdf there is no option in the file type menu there used be ? I'm using xp but had an hp update and have the problem tried unistalling and reinstalling the HP software and even using system restore to be the update .I hope it is just a setting or something simple. Is there another software I can use ? Many thanks

    Follow steps 1 and 2 of this tutorial and you will be able to get a jpg file for each of your book's pages inported into iPhoto: 06 - Creating an iDVD Slideshow From an iPhoto Book.  If you don't have the Automator workflow Save PDF to iPhoto (which should be in the HD/Library/PDF Services folder) you can download it from Toad's Cellar.
    Happy Holidays

  • Can' t print a pdf/a file in adobe reader for mac

    Can' t print a pdf/a file in adobe reader for mac

    You should try looking at this document: http://helpx.adobe.com/acrobat/kb/printing-tips-acrobat-reader.html

  • Best ways to view/display PDF/Excel files stored in the Database

    What are best ways to display/view PDF/Excel files stored in the Database? thanks L

    Thanks tom, sorry let me explain. Currently we have oracle forms screen, using webutil to store/view files into DB. client won't like the interface, they want us to make it more friendly, drag and drop if possible, load multiple files, as possible.. So I am exploring different ways to improve may be java (or jdev/any any other), different screen designs, different features for fileupload/download/view options.

  • I can't export a PDF scanned file into WORD, help please.

    I can't export a PDF scanned file into Word, please help.

    Hi solarpowerprincess,
    Are you having trouble signing in to your subscription, or having trouble converting files once you're signed in. If you can't sign in, it could be that your subscription just hasn't finished processing yet. Please let us know if you're unable to sign in and we'll go from there.
    Best,
    Sara

  • How can I convert a PDF/A file into a PDF file with Acrobat Pro X?

    How can I convert a PDF/A file into a PDF file with Acrobat Pro X? I'd like to modifiy the file which I have only as a PDF/A.

    There's two answers if you want to modify the file:
    You can temporarily turn off PDF/A Mode in your preferences, so they don't open as read-only. The problem would be if you do something to the file that violated the PDF/A standard, so you should always run a Preflight check afterwards to make sure.
    If you want to remove the PDF/A header tag, use Preflight again - it's on the Print Production Panel in Acrobat X Pro (which may be hidden, use the options menu on the Tools Pane to show it). There's a profile called "Remove PDF/A information" - choose this and press Analyze and Fix. Nothing else about the file will be altered but when you save and reopen it all the editing tools will become active.

  • Currently use acrobat 6.  getting box that states: can't find adobe pdf resource files... need help

    Getting a box that states: can't find
    adobe pdf resource files... need help!!!

    I get a similar error, but only under the following conditions:  I must be printing to the Adobe PDF printer and printing multiple pages, one at a time, and then it only happens on the second and subsequent print attempts.  That is to say, the first page prints just fine and this just started yesterday afternoon. The specific file referenced in the error does not exist, but why would it work the first time and not the second?  Since it only started yesterday, I tried uninstalling and reinstalling this morning, but it made no difference.  I don't see anything under print properties like job-options and it is a single user, unshared printer.  Thoughts?  I understand the same thing is happening in at least one other of our locations, but no one there has looked into it yet.  This is a BIG problem for me, however, and I need to find an answer quickly.

Maybe you are looking for

  • Cannot install windows 7 on 2011 macbook air

    While attempting to install 64bit Windows 7 on the latest Macbook air, the usb flash drive boots up fine, but i encounter a problem when i click "Install Now".  I receive a message that a CD/DVD drive is needed and that a driver is missing for this. 

  • Cash discount calculated even after the due date in F110

    Hi Friends, Invoice and Credit memo is created with the reference to PO, but when the payment is made to the vendor through F110 the cash discount is calculated on the credit memo even though it has passed the due date. Let me know what else is remai

  • Adobe Reader Update causes weird printing issues

    I recently updated my Adobe Reader to Adobe Reader X. I have a Toshiba with Windows 7 68-bit I believe. After updating to Reader X, I noticed that when I go to print a document, the print settings in Adobe are default set to Print on both sides. I wa

  • Need of F4 help in single values section of select options

    I need to select more than one file as input from application server. For this i used a select option field(with multiple option) and i provided F4 help by using the function module /SAPDMC/LSM_F4_SERVER_FILE in at selection screen value request. Her

  • [Newbie] Need to install .jar on the client or not ?

    Hello, I have MS SQLServer 7.0 with Weblogic driver on my W2000 Server. I try to access SQLServer from another machine. Do I need to install some .jar on the client ? Thanx. Sorry for this stupid question... :)) Johann