Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

FILESTREAM and Converted Video Files

Avatar of davidcahan
davidcahanFlag for United States of America asked on
Microsoft SQL Server 2008
4 Comments1 Solution300 ViewsLast Modified:
My companies application requires a very strong tie between regular/traditional database data and files.  A file is useless without it's data and data is useless without the file.  They are tightly bound to each other.  So I'm thinking about using FileStream datatype.  

I've managed to answer most of my questions regarding how it would work, how to download files to the client machines that need them, etc., but I'm unable to determine one thing.

Often times users will be uploading files that need to be converted first before going into the DB.  The file is of course attached to traditional data, like the name the user gives it, a description, cloud tags attached to it, etc, so I want everything in a transaction that I can rollback if something goes wrong.  

So how the heck would I upload a file, then convert that file to say a swf and still insert it all into the DB?  Would I upload and insert first and then have a second process which selects the data out, converts it to swf and updates the record?

Avatar of DBAduck - Ben Miller
DBAduck - Ben MillerFlag of United States of America imageSQL Server Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers