How can I read file from filepath and Insert in to SQL Server ?

Hi,
I have table called "table1" and has data like this ..
id
Folder
FileName
1
   f:\cfs\O\
ENDTINS5090.tif

D:\Grant\
CLMDOC.doc
3
 f:\cfs\Team\
CORRES_3526.msg
4
  f:\cfs\S\
OTH_001.PDF
I have another table called "table2" with content column is image datatype.
Id
FileName
Content
1
FileName
2
ENDTINS5090.tif
3
CLMDOC.doc
4
CORRES_3526.msg
5
OTH_001.PDF
I would like to insert in to content column in the table2 by reading the file from filepath( table1).
Is there any simple way or SSIS  able to do it ?
Please help me on this.
Thank you.

http://dimantdatabasesolutions.blogspot.co.il/2009/05/how-to-uploadmodify-more-than-one-blob.html
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • How can I open files from Appleworks and Pages 4.3 in Mavericks?

    I have documents I created in Appleworks and Pages 4.3 that I can't open in Pages 5.1 using Mavericks.  How can I open those files?

    Mavericks is the Operating System (OSX).
    LibreOffice [free] may be able to open your AppleWorks files but probably not perfectly.
    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 can open Pages '09 files but will alter/damage them.
    Peter

  • How can I delete files from iTunes AND my hard drive? It used to be very obvious in iTunes but I no longer see that option.

    I used to easily be able to delete songs from my hard drive and library through iTunes but I no longer see that option. Is there a way to do that or a workaround of some kind?

    Are these songs in the iTunes media folder shown in iTunes prefs > Advanced?
    Only songs in this location will be deleted from the HD when delting from iTunes.
    Also, iTunes prefs > Advanced.
    Click Reset Warnings.
    If you are deleting from a playlist, it will only delete from that playlist.
    Hold Shift and press Delete to remove from the playlist and from the library.

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • How can I transfer files from one external HD (WD My Passport) to another external HD (Seagate Backup Plus)?  WD drive was improperly ejected and Finder no longer recognizes it.  Tried fixing with Disk Utility but failed.

    How can I transfer files from one external HD (WD My Passport 2T) to another external HD (Seagate Backup Plus 2T)?  WD drive was improperly ejected (although we did tell it to eject) and now Finder no longer recognizes it.   Using MacBook Pro and I just upgraded to Yosemite before this happened. Was told at Apple Store to use Disk Utility to repartition, but it failed.  It says to backup files and restore.  But how do I backup files?  Or would appreciate any other suggestions to repair drive.

    You may drag & drop between external hds. 
    Should you run into trouble.
    Take the exernal drive appart.  Take out the harddrive.  Try reading the data via a usb adapter. Put a household finan on the hd.
    http://www.cablewholesale.com/products/usb-firewire/usb-2.0-products/product-40u   2-01000.php?utm_source=Nextag&utm_medium=cpc&zmam=54972865&zmas=1&zmac=4&zmap=4 4 77

  • I have deleted my private folder and do not have enough space to reinstall my operating system. How can i transfer files from my hard drive to an USB drive to free up space when the operating system isn't working. or do i need to erase disk?

    i have deleted my private folder and do not have enough space to reinstall my operating system. How can i transfer files from my hard drive to an USB drive to free up space when the operating system isn't working. or do i need to erase disk through disk utilities without erasing data (but will it delete my programs such as photoshop, office, creative suite?

    Connect the computer to another Mac and put it in FireWire Target Disk mode, or use the Disk Utility to clone the drive or image specific folders with the USB drive as the target. After you've copied off everything you want, you'll likely need to erase the drive and reinstall the applications.
    (69695)

  • How can i transfer files from adobe reader to my kobo e-book

    how can i transfer files from adobe reader to my kobo e-book??

    I think you should ask in the Digital Editions forum,
    http://forums.adobe.com/community/adobe_digital_editions
    This is the Reader one.

  • Hello, I recently bought an iPad Air. Can anyone Please tell me How can in Transfer files like photos and videos from my win 8 computer to ipad ?

    Hello, I recently bought an iPad Air. Can anyone Please tell me How can in Transfer files like photos and videos from my win 8 computer to ipad ?

    Sync photos to iPad
    http://support.apple.com/kb/ht4236

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • How can I transfer files from my computer to my I pad ?

    How can I transfer files from my computer to my I Pad?

    Try a conduit such as Dropbox.
    Goodreader or Documents to Go also have helper apps that allow transfers.
    Goodreader is particularly good in that it has a integal file tree and you can mount your computers harddrive and navigate directly on your ipad.
    Use the open with to view/move files into other apps.

  • How can I transfer files from my mac to my iPad, e.g., mp4 files.  Do I have to use iTunes?

    How can I transfer files from my mac to my iPad in an easier way?  I'd like to put some movies on, and I can use iTunes, but is there another way?  I have transferred epub books using Dropbox.  Movies eat up a lot of dropbox space and the iPad has trouble getting them.

    USB disk. You still have to go through iTunes.
    Connect device to computer/mac
    Select your device in iTunes menu.
    Apps...
    At thebottom of the page you will see the app.
    Select it and the Add for windows and + for mac
    Hope that helped.
    In the long run there is no way to access or uplood data on your device without iTunes unless you JailBrake....

  • How can we read filenames from a specific folder

    Hi forum,
    I have a situation that, there are several files coming daily in a specific folder.
    I want to read filenames from that folder and want to get that filename in a variable.
    That filename contains account nos. which I need for further processing.
    Now, how can we read filenames from a specific folder with using Oracle PL/SQL Procedure?
    Please suggest.
    Thanks & regards,
    Kiran

    If you are on 10g (not sure which exact release I'm afraid) you might look at Chris Poole's XUTL_FINDFILES that lists the files in a directory using PL/SQL and DBMS_BACKUP_RESTORE.SEARCHFILES (all a bit undocumented as it seems to be provided as part of rman).
    The conventional (i.e. supported) approach is to use a Java stored procedure - there is an example on AskTom.
    Message was edited by:
    William Robertson

  • How can i send files from my iphone 4s to another iphone with my bluetooth?

    how can i send files from my iphone 4s to another iphone with my bluetooth?

    You can't.  That's not a feature of the iPhone.
    There's is an app called Bump that will let you transfer contacts and photos.

  • How can automatic save file from apex to user local directory?

    how can save pdf file from apex to user local directory on button click?

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "940509".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    how can save pdf file from apex to user local directory on button click?As Tony points out the ability to do so would represent a major security breach. The normal approach is to present the user with a download link that when clicked prompts them with a Save dialog in which they can select a location for the downloaded file.
    What is the source of the PDF file?

Maybe you are looking for