Whats is the easiest way to store and retrieve files using a DB?

Hello,
I have a web application where my users need to upload and retrieve files(.doc, .ppt. excel). I want to store them in the database instead of on the server. Anyone have any ideas on the easiest way to do this?
Thanks,
Danny

Well, there's a BFILE data type-- that allows you to store essentially a pointer to a file in the database, though the file itself would be stored externally.
A better option would be to store the data either as interMedia Text or as a B/CLOB, so all the data from the file would be stored in the file. interMedia Text gives a number of benefits if you're going to be working with the data-- i.e. searching the data, etc, but the additional work & restrictions may not be worth it if you just want to get the data in and out of the database whole.
Justin

Similar Messages

  • What is the best way to store and search 2D data

    Hi,
    There is a set of data (~10k records ) in 2D dimension.
    like this :
    Col 1, Col 2, Col3....
    What is the best way to store and search those records ?
    Thanks in advance
    Wilson

    Hi,
    Either userObjet[][] if you know how much data you have, and the data size is fixed, or use a list of lists. E.g. A Vector of Vectors (some will probably say that you should use an ArrayList instead, and that could be the case, but it sounds like you would want to display the data later on, and a DefaultTableModel (for JTables) uses a Vector as data holder).
    Kaj

  • What is the easiest way to create and manage very big forms?

    I need to create a form that will contain few hundred questions. Could you please give me some advise on what is the easiest way to do that? I mean for example is it easier to create everything in Word (since it is easier to manage) and than create a form based on that?
    My concern is that when I will have a very big form, containing different kinds of questions and with many scripts, managing it during work will be slow and difficult, for example adding a question in the middle of the form which would require moving half of the questions down which could smash the layout etc.
    What is the best practise for that?
    Thanks in advance

    Try using Table and Rows for this kind of forms. These forms will have the same look throught with a question and and answer section..
    In the future if you want to add a new section, you can simply add rows in between..
    Thanks
    Srini

  • Using RH10 - what's the easiest way to create and save HTML code as a snippet for later re-use?

    I am using RH10 to maintain and update several WebHelp projects for customer-facing Internet applications. I am noticing inconsistencies in css and html so I would like to create several snippets for later re-use.  My wishlist, so far:  FAQ page with internal bookmarks, product image with table of callouts, and basic page template with corporate header and footer. What's the easiest way to save / export a page that I want to use later as a snippet? Thank you.

    Have you thought about using the Resource Manager?

  • What's the easiest way to select all my files from all the folders on a hard drive and place into one folder?

    Hi there,
    I have about 30,000 images all in hundreds of folders. I'm wondering what the easiest way to get them all into one folder so I can select and convert them all from .psd, .tiff, etc all to jpg. The reason I'm doing this is because the folder structure is such a mess, that I'm just going to import them all into aperture to sort everything. But the .tiffs and .psds are 100 mb each so I want to scale them to jpgs that are only 4 or 5 mb before I even think about importing them into aperture.
    I tried doing a search for "kind is image" and it shows them all but a ton of them are renamed the same thing so when I try to select all and move into one folder it tells me I can skip that one or stop copying.
    Any thoughts or ideas on this?
    Thanks,
    Caleb

    Hi russelldav,
    one note on your data handling:
    When  each of the 50 participants send the same 60 "words" you don't need 3000 global variables to store them!
    You can reorganize those data into a cluster for each participant, and using an array of cluster to keep all the data in one "block".
    You can initialize this array at the start of the program for the max number of participants, no need to (dynamically) add or delete elements from this array...
    Edited:
    When all "words" have the same representation (I16 ?) you can make a 2D array instead of an array of cluster...
    Message Edited by GerdW on 10-26-2007 03:51 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • What is the easiest way to direct transfer my files between iMacs?

    Just picked up my new iMac (obviously thunderbolt ready). Have my late 2011(i think? haha) iMac with all my music/photos/movies etc. What is the best way to directly connect the two iMacs to transfer large amounts of files at once. My new iMac has both thunderbolt and usb, old iMac only has USB. My external HDD is failing when I try to transfer too many files at once, so I'd prefer just connecting the two machines to expedite the process and avoid any missing/failed files.
    Thanks for any help!

    v3nustas wrote:
    I have already set up the new iMac. Looking into the migration assistant for POST set up,
    Migration Assistant is still your best option to transfer your data, but since you already created a user MA will create another. If you want its name to be identical to the one you used to set up your iMac, create yet another user with a throwaway name. Then, log in to that temporary account, and erase the one you created when you set up your iMac. Run Migration Assistant and this time choose what you want to transfer. After the transfer is complete just delete the temporary account.
    Alternatively, you can transfer the files over your network, or connect them directly to each other with a FireWire cable. You will need a Thunderbolt to FireWire adapter for the new iMac.
    To do that boot the old iMac in Target Disk Mode - hold the T key while starting it. Its HD will appear on the new one's Desktop. Drag or import what you need. Importing is recommended for music and photos using the Add to Library and Import to Library menu selections in iTunes and iPhoto respectively, since it will ensure the newly created libraries retain their organizational structure.

  • What is the best way to store and iterate over lists of words?

    Hi,
    Im trying to create a naive bayesian classifier to attribute aurthorship to some texts. I have three text files in the form of a list of words (listA, listB and listC, where listA is a disputed text and listB, listC are those of known authors). I need to feed these into my program, than compare listA to listB (to check if listA has the same words as listB), perform the classification and do the same for listA and listC.
    Im new to java and would like to know the best way of comparing the text files....could i store listA in an array....listB in a hashmap, iterate over the hashmap to check which words are also contained in listA and store the similar words in a seperate arraylist?
    plz help.

    If you just want to check if one set of words contains another set of words then something implementing java.util.Set might be sufficient. Read the API docs, you don't need to write much code yourself. Maps are for looking up values based on keys; your problem statement doesn't mention that so you don't need them. Lists are for when the order of entries matters. Read this for more information:
    http://java.sun.com/docs/books/tutorial/collections/index.html

  • What is the easiest way to sync and back up 2 iPhones with different accounts on one computer?

    My parents have gotten a new Windows 8 computer and want to use it to back up and sync their phones for updates. They don't share an iTunes account but they do share the credit card used to make purchases. They also so not want to set up "his and her" accounts on the computer. Also they are getting new phones next week. Should I just make an account for them to share and delete their old accounts, or will signing in and out of iTunes based on who is using it keep their information seperate...or is there a much simpler way to do it that I am totally missing?

    I wouldn't say that it is easily done, but it can be done, the reason I don't say easily is because it has to be done individually one at a time. And I assume that you are talking about all ten having the same apps?

  • What is the easiest way to create and share photo/video gallery or slide show with family via web?

    I am brand new to Lightroom (converted from Aperture) and made the conversation mainly because I thought that Adobe would bring many more options and because Apple has discontinued development of Aperture. Part of the reason I am asking this question is because there is so much information out there on this subject that it is overwhelming and actually is making it difficult to determine the best way to simply arrange my photos/videos into a slideshow and then to publish somewhat of a gallery or slideshow to show family and friends in other states. 
    I do not like publishing things to Facebook/etc.  Too public.  I just want a simple, efficient way to create a gallery with music and have a link I can send to my family (they all live in another state). 
    Any help narrowing this down for me would be greatly appreciated!
    Thanks,
    RJ Chesterton

    an airport extreme base station would do the job, it has several ethernet ports for use by non-wireless devices, allows connecting a usb printer to share, and supports both pc and mac via wireless
    config is via a dedicated set-up utility
    however, you can always connect the printer to the mac or pc and share it that way, so having this support in the base station isn't essential
    a much cheaper unit from netgear etc. (such as the netgear wgr614) would offer the other features, be far more compact, and allow configuration via web browser, which might be a factor if you need to give 'remote support'
    i've got both airport and netgear wireless devices, imho for non-technical users the netgear is simpler than the airport due to the web browser configuration

  • What is the easiest way to PDF just one file

    I am working in FM11 and found my 494 pg PDF has 3 pages that needed replacing. I made the fix in FM and wanted to PDF just the chapter with the updated pages and drag them into the original PDF. Thanks.

    If you only need this flagged page layout for the changed pages (for example):
    Create a vector image of the page border (.eps, .pdf, .svg), save as file (say, border.red.eps).
    Create new left and right master pages based on Left and Right, say: Left.red and Right.red.
    Import the border file to each. Select the border image. Turn off Run-Around.
    Create a variation of some para format(s) used on the changed pages, for example Body.red
    Apply it to at least one para on each page which needs the border.
    Perform a Format > Page Layout > Apply Master Pages to ensure you have ...
    View > Reference Pages: Reference Page "MasterPageMaps".
    Add to table:
    Body.red  |  Right.red  |  Left.red  | Single
    Perform another Format > Page Layout > Apply Master Pages
    The only way to control Framemaker's hatch and fill styles is to not use them.

  • What is the easiest way to mix and match drum samples from Logic software instruments

    I have been using Logic software instruments (EXS 24 drums kits) for a while. I know how to edit indiviual zones in a drum kit but I would like to know how to copy and paste multiple zones all at once from one kit to another so that I can create a hybrid ESX24 drum kit with my favorite snares, kicks, toms etc. Is there a good tutorial video showing how to do this?

    so that I can create a hybrid ESX24 drum kit with my favorite snares, kicks, toms etc.
    To my opinion the Environment "Mapped Instrument" object is designed exactly for what you want. You can load even different Software (drum) Instrument kits into say EXS, Addictive Drums, UB etc. Patch multiple cables to each Software Drum Instrument instance, open the Mapped Instrument and assign the pads "cable" outputs in the Cable column - this is one of the most elegant ways in Logic...
    A.G
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free),
    Vox De Bulgaria - s.a.g.e vocal pack for RMX,
    Logic Snapshot Console,
    RMX Power CTRL - Logic Environment Midi editor for Stylus etc.

  • What's the best way to store test parameters for future use?

    I'm creating a test stand that will perform various "standard" tests. Each of the tests has it's own setpoints (integer numbers) as well as some string values that are stored in the log file with the data.
    What is the easiest way to store these setpoints and strings so that I can pull them into the VI in the future, say by selecting a test type from a ring control, etc.?
    I would also like to make this dynamic so that new test types can be stored from the vi. (i.e. I don't want to have to hard code all the future tests and their parameters).

    I like INI files, too. If you are looking for an easy way to read and write your parameters to INI, take a look at the Variant Configuration File IO Library of the OpenG Toolkit.

  • How do you move pictures to an external drive to open space on the Mac hard drive? Or what is the best way to store photos safely?

    How do you move pictures to an external drive to open harddrive space? Or what is the best way to store large photo files? Ive tried copy/cut and paste and it doesnt work. I have nothing on my Mac but photos and its telling me startup disk is too full to download updates.

    Are the photos being stored in iPhoto now?
    How is the external disk formatted?
    Allan

  • HT2905 What is the easiest way to upgrade 128K files to 256K?

    What is the easiest way to upgrade old 128K files to 256K?

    None. They need to be redownloaded or reripped as 256Kbps files.
    (75866)

  • I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. my goal is to store them in an external hard drive so it doesn't use up memory on the mac hard drive. is it possible to copy the specific projects without copying the entire library? what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    What do you not understand?
    You can duplicate the iPhoto library (command - D ) and delete everything except the project and its photos from the copy and move that
    Or
    However the calendar takes very little space - it is simpy database entries - it is the photos in the calendar that take space - and for most people you would wnat to keep those photos in your library
    you can use a photo in 50 calendars and it still is only one photo in your library - as I explained calenders do not exist as such - they are simply database entries telling iPhotop how to display the calendar - they take almost no space at all
    LN

Maybe you are looking for