Load word document file into database

Hello,
Kindly tell me how do i load word document file into my database.

you can use BLOB columns to store the word document in the database
But not sure how are you trying to load (i.e what is your application front end)
Oracle Forms, Java etc.
so based on that specific solution can be given.

Similar Messages

  • How can I change a Microsoft Word document file into a picture file?

    How can I change a Microsoft Word document file into a picture or jpeg file? I am wanting to make the image I created my background on my macbook pro.

    After I had the document image the way I wanted it, I saved it as a web page and went from there. Below are the steps starting after I did the "save as" option in Word:
    1) Select "Save As Web Page". I changed the location from documents to pictures when the window came up to save it as a web page.
    2) Go to "Finder" on you main screen, or if it's on your main toolbar at the bottom.
    3) Click on the "Pictures" tab and find the file you just re-saved as a web page. (I included "web page" or something similar in the new title so I could easily find the correct file I was looking for)
    4) Open the correct file and then "right click" on the actual image. (Use 2 fingers to do so on a Mac)
    5) Select 'Use Image As Desktop Picture", and voilà! The personally created image, or whatever it is that you wanted, is now your background.
    **One problem I encountered while doing this is that the image would show up like it was right-aligned in relation to the whole screen. The only way I could figure how to fix this was to go back to the very original document in Word, (the one before it was saved as a web page), and move everything over to the left.
    I hope this helps someone else who was as frustrated as I was with something that I thought would have been very simple to do! If you have any tips or suggestions of your own, please feel free to share. : )

  • Problem while loading a jar file into database

    Hi All,
    We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
    Error while processing jar cryptix32.jar
    Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
    loadjava: 1 errors
    Can anybody suggest anything to overcome this. Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
    I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
    Hi John,
    Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
    Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
    ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
    But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance.

  • How to load word .doc-files into java applications?

    Hi,
    I want to load a word .doc-file (or any other type of document) into a java application, as part of the application.
    Is there any java special library to do it?
    Any solution or hint?
    Thank you.

    No, there is no existing Java library to do it that I am aware of. You could write your own, however, as the Word 97 binary file format is published. I am not sure that the Word 2000, or XP formats are as well, but since they put out the 97 presumably they'd do the same with the rest -- although I am suprised that Micro$$$oft even published the 97 format.
    A library such as this would take quite some time write, due to the extensive format, but here's a link to a copy of it just so you can see what it'd take: http://www.redbrick.dcu.ie/~bob/Tech/wword8.html
    Also keep in mind that Micro$$$oft has never remained binary compatable between versions. In short, this means that you'd have to parse each version's documents differently. Not a fun task.
    If a Java library to read Micro$$$oft file formats already does exist, I'm willing to bet that it costs $$$ mucho dinero $$$.
    Hey, aren't proprietary file formats just wonderful?

  • Loading XML(XSD) file into database by validating the format in file

    Hi,
    I have a file whose format is predefined as listed below
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="VVV">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="VVVHeader">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="UniqueIdentifier" type="xs:SEQ0001"/>
                        <xs:element name="VVVFileType" type="xs:123"/>
                        <xs:element name="FileCreatedDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="ScanDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="BatchID" type="xs:456"/>
                        <xs:element name="BatchSequence" type="xs:1001"/>
                        <xs:element name="DataEntryDatetime" type="xs:23-MAY-2006"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                        <xs:element name="VVVDetail">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="RRRLocalOffice" type="xs:Mumbai"/>
                        <xs:element name="Duplicate" type="xs:No"/>
                        <xs:element name="ReRegMarker" type="xs:boolean"/>
                        <xs:element name="RegistrationMark" type="xs:Vishnu"/>
                        <xs:element name="RegMarkCheckDigit" type="xs:12S"/>
                        <xs:element name="TaxClassCode" type="xs:67"/>
                        <xs:element name="ExternalMakeCode" type="xs:Maruti"/>
                        <xs:element name="ExternalModelCode" type="xs:800LX"/>
                        <xs:element name="RRRMakeCode" type="xs:Mar"/>
                        <xs:element name="RRRModelCode" type="xs:800LV"/>
                        <xs:element name="RRRVehicleBodyCode" type="xs:98"/>
                        <xs:element name="RRRColourCode" type="xs:red"/>
                        <xs:element name="RegistrationDate" type="xs:23-MAY-2006"/>
                        <xs:element name="ChassisNumber" type="xs:num123"/>
                        <xs:element name="HC" type="xs:1.22"/>
                        <xs:element name="UnWeight" type="xs:90"/>
                        <xs:element name="NoSeats" type="xs:four"/>
                        <xs:element name="NOx" type="xs:2.22"/>
                        <xs:element name="RevenueWeight" type="xs:34"/>
                        <xs:element name="CO2" type="xs:55"/>
                        <xs:element name="Particulates" type="xs:long"/>
                        <xs:element name="CO" type="xs:3.33"/>
                        <xs:element name="HCNOx" type="xs:4.44"/>
                        <xs:element name="TrailerWeight" type="xs:66"/>
                        <xs:element name="StationaryLevel" type="xs:77"/>
                        <xs:element name="EngineSpeed" type="xs:88"/>
                        <xs:element name="DriveBynature" type="xs:99"/>
                        <xs:element name="SMMTFleetCode" type="xs:yel"/>
                        <xs:element name="Purchasercode" type="xs:4004"/>
                        <xs:element name="IndustryofUse" type="xs:office"/>
                        <xs:element name="OriginalDealerCode" type="xs:tr56"/>
                        <xs:element name="SellingDealerCode" type="xs:se23"/>
                        <xs:element name="bill110" type="xs:srira"/>
                        <xs:element name="bill111" type="xs:mula"/>
                        <xs:element name="SalesType" type="xs:krish"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    I would like to update this into a a table by validating the format of the XSD file.
    I will be having several similar files.
    Steps I will be doing on this are
    1 > Pick up file from a directory one at a time
    2 > Validate the format of XSD file
    3 > If valid load into a table
    How can I achieve above steps using PL/SQL
    Pls mail me ur suggestions on very urgent basis
    Thanks in advance
    Vishnu

    Really this should be in the XML forum, but anyway....
    Just a small question... It looks as though you are using an XML schema (XSD) to store your table information along with it's data, am I correct? Seems very bizarre thing to do.
    If you are using Oracle 10g you can drop your file into the Oracle WebDAV area (XDB) and from there you can access the XML as an XMLTYPE using something like...
    SELECT rv.res.extract('/Resource/Contents/*')
    FROM   resource_view rv
    WHERE  lower(rv.any_path) = lower(lc_filename)Once you have it in the XMLTYPE variable from that query, and because your schema doesn't really define the datatypes etc. it's gonna be up to you to parse the XML using something like the DBMS_XMLDOM package and process that into create table statements or something.
    Certainly looks like you've got yourself a nice task to do there. Glad I'm not doing it.
    ;)

  • How to attache a word document file

    Hi all,
       Thanks in advance,
       Does anyone know please help me out.
       I want to attach word document file  into one of the field in my customised screen, and when i double click the path it has to open that particular file in a small window .
    Please provide  me sample of code, I think that can be done throu oop .
    Thanks and reagards
    Shiva prasad D

    Use the following code to execute the native application to open your document.  Example,  if user click on a word document, this will open the document in Microsoft Word.  If execl, will open the document in Microsoft Excel. 
      CALL METHOD CL_GUI_FRONTEND_SERVICES->EXECUTE
        EXPORTING
          DOCUMENT               = 'C:test.doc'
          MAXIMIZED              = 'X'
          SYNCHRONOUS            = 'X'
        EXCEPTIONS
          CNTL_ERROR             = 1
          ERROR_NO_GUI           = 2
          BAD_PARAMETER          = 3
          FILE_NOT_FOUND         = 4
          PATH_NOT_FOUND         = 5
          FILE_EXTENSION_UNKNOWN = 6
          ERROR_EXECUTE_FAILED   = 7
          OTHERS                 = 8.
    Regards,
    Rich Heilman

  • How can I convert my Open Source document files into Word document files? I cannot download Pages since my Macbook Air does not have the most recent software.

    How can I convert my Open Source document files into Word document files? I cannot download Pages since my Macbook Air does not have the most recent software. I downloaded open office to my mac to try and save money. It worked well for a while. Now I get this pop-up message that asks me to "Reopen" and when I select the option, nothing happens. I cannot save my documents anymore and I cannot convert them to word. Help!

    dwb wrote:
    Does OpenOffice output Word documents by default or do you have to select it manually?
    You have 17 options to save as in Open Office, one of which is .doc  files,  yes it needs to be saved manually.
    You may be able to default to DOC, but have not tried same.
    Since Open Office is 99% same as Word, I use it, or Word, either one.  Open Office is a bit less buggy than Word 11'

  • Performance problems loading an XML file into oracle database

    Hello ODI Guru's,
    I am trying to load and XML file into the database after doing simple business validations. But the interface takes hours to complete.
    1. The XML files are large in size >200 Mb. We have an XSD file for the schema definition instead of a DTD.
    2. We used the external database feature for loading these files in database.
    The following configuration was used in the XML Data Server:
    jdbc:snps:xml?f=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xml&d=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xsd&re=initialLoad&s=CM&db_props=oracle&ro=true
    3. Now we reverse engineer the XML files and created models using ODI Designer
    4. Similar thing was done for the target i.e. an Oracle database table as well.
    5. Next we created a simple interface with one-to-one mapping from the XSD schema to the Oracle database table and executed the interface. This execution takes more than one hour to complete.
    6. We are running ODI client on Windows XP Professional SP2.
    7. The Oracle database server(Oracle 10g 10.2.0.3) for the target schema as well as the ODI master and work repositories are on the same machine.
    8. I tried changing the following properties but it is not making much visible difference:
    use_prepared_statements=Y
    use_batch_update=Y
    batch_update_size=510
    commit_periodically=Y
    num_inserts_before_commit=30000
    I have another problem that when I set batch_update_size to value greater that 510 I get the following error:
    java.sql.SQLException: class org.xml.sax.SAXException
    class java.lang.ArrayIndexOutOfBoundsException said -32413
    at com.sunopsis.jdbc.driver.xml.v.a(v.java)
    The main concern is why should the interface taking so long to execute.
    Please send suggestions to resolve the problem.
    Thanks in advance,
    Best Regards,
    Nikunj

    Approximately how many rows are you trying to insert?
    One of the techniques which I found improved performance for this scenario was to extract from the xml to a flat file, then to use SQL*LOADER or external tables to load the data into Oracle.

  • Urgent: Does dbms_java package is required  to load jar file into database?

    Hi, It's a urgent request. I am trying to install jar file that was created by JDeveloper into database using loadjava. But it is giving so many errors.
    Do we need to install dbms_java package in order to load jar files into the database? Thanks.

    Thanks for your reply Kamal.
    I am trying to load these jar files into Oracle 9.2.0.3.20 database.
    Could you please give me the list of the steps to enable java within the database? Thanks.

  • Loading XML files into Database table

    Loading XML files into Database table
    Hi I have some XML files say 100 files in a virtual directory created using &quot;Create or replace directory command&quot; and those files need to be loaded into a table having a column of XMLTYPE. 1)How to load that using Oracle provided procedures/packages

    Check out the Oracle XDB Developer's Guide, Chapter 3. There is an example of using BFileName function to load the xml files from a directory object created using create or replace directory. It works really well.
    Ben

  • Loading an XML file into a database table.

    What is the convenient way to parse XML data present in a data file in server?

    Hi;
    Please check:
    http://riteshkk2000.blogspot.com/2012/01/loadimport-xml-file-into-database-table .html
    http://docs.oracle.com/cd/E18283_01/appdev.112/e16659/xdb03usg.htm#BABIFADB
    http://www.oracle.com/technetwork/articles/quinlan-xml-095823.html
    Regard
    Helios

  • Storing PDF and Word document in oracle database

    any idea, how to store PDF and word document using oracle database.
    thanks

    The common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
    Also check this thread in Asktom
    SQL> create table demo
      2  ( id        INT PRIMARY KEY,
      3    theBlob   blob,
      4    dummy_col VARCHAR2(1)
      5  )
      6  /
    Table created.
    SQL> -- --------------------------------------------------------------
    SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
    SQL> -- --------------------------------------------------------------
    SQL> declare
      2      l_blob    blob;
      3      l_bfile   bfile;
      4 
      5  begin
      6      insert into demo (id, theBLOB) values ( 1, empty_blob() )
      7      returning theBlob into l_blob;
      8 
      9      l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
    10      dbms_lob.fileopen( l_bfile );
    11 
    12      dbms_lob.loadfromfile( l_blob,
    13                             l_bfile,
    14                             dbms_lob.getlength( l_bfile ) );
    15 
    16      UPDATE demo
    17      SET    theBlob = utl_compress.lz_compress(l_blob, 6)
    18      WHERE  id = 1;
    19  -- If you don't want compress the LOB just update directly
    20      dbms_lob.fileclose( l_bfile );
    21      COMMIT;
    22  end;
    23  /
    PL/SQL procedure successfully completed

  • How to load huge size file in database

    Hi,
    I have a requirement to load files into database and download them as well. Can you tell me which is the best method to do on plsql.
    Thanks
    Sudhir

    The file upload will be a tad ugly.
    You need to create an upload form/page in Apex that allows the user to upload the file. The Apache location configuration for that Database Access Descriptor (DAD) will include a parameter called PlsqlDocumentTablename - and this parameter specifies the name of the Oracle (or Apex) table to use for uploads.
    The default document table is WWV_FLOW_FILE_OBJECTS$.
    The 150Mb file will thus be a LOB in a row in the document table.
    You can add a post PL/SQL process to that Apex upload page to process the uploaded document. Because of the size of the uploaded file, I suggest that you start a batch process (via the DBMS_JOB or DBMS_SCHEDULER interfaces) to process the upload file.
    Okay, now for the processing. This is the ugly part - as the file is a LOB column in the database and you want to use it via SQL*Loader as an external file or external table. You can write your own CSV parser in PL/SQL. But I do not recommend using this approach for large files - SQL*Loader and external tables are a lot more flexible. I have not yet seen a means to define an external table on a CLOB - so this means having to write code using UTL_FILE and unload the 150Mb LOB contents to an actual external file. Once that is done, you can then use an external table on the external file to load it.
    As for sending files to the client via Apex. This is done using the WPG_DOCLOAD.download_file() call to stream the LOB to the client browser. E.g. basic example:
    --// URL example: http://my-server.my-domain.com/MyDAD/MySchemaName.StreamFile?fileID=1234
    create or replace procedure StreamFile( fileID number ) AUTHID DEFINER is
            mimeType        varchar2(48);
            fileName        varchar2(400);
            lobContent      BLOB;
    begin
            --// read the LOB from a table (or dynamically create it)
            select
                    f.filename,
                    f.mime_type,
                    f.blob_content
                            into
                    fileName,
                    mimeType,
                    lobContent
            from    FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$ f
            where   f.id = fileID;
            --// format a basic HTTP header that describes the file stream send
            OWA_UTIL.mime_header( mimeType, FALSE );        -- e.g. text/csv text/plain text/html image/gif
            HTP.p( 'Content-Disposition: attachment; filename='||fileName );
            HTP.p( 'Content-Length: ' || DBMS_LOB.GetLength(lobContent) );
            OWA_UTIL.http_header_close;
            --// now write the BLOB as a mime stream using the Web Procedural Gateway's
            --// doc load API
            WPG_DOCLOAD.download_file( lobContent );
    exception when OTHERS then
            --// Decide what HTML to generate (if at all) if there is a failure
            HTP.prn( 'StreamFile() failed with '||SQLERRM(SQLCODE) );
    end;
    /

  • Store Word Document Text in Database using form

    Hai,
    i have one word format document .doc, my object is i want to store text from word
    file line by line in oracle database using form.
    it there anyway to achieve my object.
    thanx,
    can i create form to read word file with sound..

    You can directly store the Word Document itself into the Database using BFILE concept.
    If you want to store line by line please code your program with TEXT_IO package (Forms)
    Please give your mail Id for the example to be posted.

  • Load a flat file into BW-BPS using SAP GUI

    Hi,
    We are using BW BPS 3.5 version, i implemented how to guide  " How to load a flat file into BW-BPS using SAP GUI" successfully without any errors.
    I inlcuded three infoobjects in the text file   costelemt, Posting period and amount. the same three infoobjects i inlcuded the file structure in the global data as specified in the how to document
    The flat file format is like this
    Costelmnt      Postingperiod         Amount   
    XXXXX             #      
    XXXXX             1                          100
    XXXXX             2                           800
    XXXXX             3                           700
    XXXXX             4                           500
    XXXXX             5                           300
    XXXXX             6                           200
    XXXXX             7                           270
    XXXXX             8                           120
    XXXXX             9                           145 
    XXXXX            10                           340
    XXXXX            11                           147
    XXXXX            12                           900 
    I successfully loaded above flat file in to BPS cube and it dispalyed in the layout also.
    But users are requesting to load  flatfile in the below format
    Costelmnt        Annual(PP=#)   Jan(PP=1)   Feb(PP=2) ........................................Dec(PP=12)  
    XXXXX              Blank                       100           800                                                   900
    Is it possible to load a flat file like this
    They wants load a single row instead of 13 rows for each costelement
    How to do this. Please suggest me if anybody accorss this requirment.
    In the infocube we have got only one Info object 0FISCPER3(Posting period) and one 0AMOUNT(Amount)
    do we need 13 Infobjects for each posting period and amount.
    Is there any possiblity we can implement any user exit which we use in BEX Quer's
    Please share your ideas on this.
    Thanks in advance
    Best regards
    SS

    Hi,
    There are 2 ways to do this.
    One is to change the structure of the cube to have 12 key figures for the 12 posting periods.
    Another way is to write an ABAP Function Module to fetch the values from each record based on the posting period and store it in the cube for the corresponding characteristic. This way, you dont have to change the structure of the cube.
    If this particular cube is not used anywhere else, I would suggest to change the structure itself.
    Hope this helps.

Maybe you are looking for

  • Total display in the ALV output

    Hi Is  do_sum  in the field catalog has some restriction to display SUM in the report output. In my report around 4000 records are displaying. For some of the fields do_sum  functionality used to display the total in the ouput. But for some fields it

  • Indesign CS4 won't open after updating to Yosemite. How can I fix this?

    I have a new macbook pro, just updated to yosemite, and I use the CS4 adobe suite almost daily. Photoshop, when I opened it, required a plugin which I downloaded and that works. Illustrator works fine, but Indesign begins to boot up, then crashes. Ev

  • Ejb deploy

    i use derby and sun app server i created application with enterprise bean and web content in it (index.jsp) my index.jsp is supposed to display the data returned by the bean but when i deploy it i get [#|2008-11-11T21:50:22.387+0100|WARNING|sun-appse

  • Lost my ringtones with the 5.0.0.975 update

    I have noticed this week that all my notifcations, ring tones, etc have changed. I went to change them back and nearly all of my default tones are gone ""Invalid ring tone selection, please make another selection". My guess is they disapeared after t

  • Complicated Itunes voucher query

    Hi, I have an itunes voucher that i want to redeem, but both me and my wife want to use it for different things. She wants to put some music on her ipod with it and I want to put a game on from the app store. Can the voucher be used on two different