Solved

Export documents uploaded inside Database

Posted on 2014-11-16
4
120 Views
Last Modified: 2014-11-17
Using:  MS SQL and IIS7

I am importing data from one database to another.

System # 1 has documents uploaded inside the database. I am not familiar on how this is done and how to export them to be actual documents again (Like a word document or an excel file, or PDF)

System # 2 has a path to where the physical documents are stored (The actual word, excel or PDF file).

I need to export all documents from System # 1 to System # 2.

How can I export all those documents to a folder and convert them from what looks like a Blob in the table to actual files ?
0
Comment
Question by:amucinobluedot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Assisted Solution

by:sameer2010
sameer2010 earned 250 total points
ID: 40446714
Hi,

This can be easily achieved if ext for file is known, using BCP. Are you storing ext somewhere?

Thanks,
Sam
0
 
LVL 51

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 40446998
Can you post there the schema from the tables so you can see how those files are stored (which data type are used)?
0
 

Author Comment

by:amucinobluedot
ID: 40447882
There is a table with the name of the document in one field and the extension of the document in another. As it turns out the documents are stored on a folder and not the database itself. Ill close this thread, thanks for the help.
0
 

Author Closing Comment

by:amucinobluedot
ID: 40447887
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question