Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

upload and download exe files from sql table

Status
Not open for further replies.

mariuslaurentiu

Programmer
May 31, 2005
10
0
0
RO
Hello,
I want to store an exe file to an sql table. It's that possible?

 
Yes. It's possible. However, I would suggest that you store the exe file directly on the file system (in a folder) and simply store the path to the file in the database.

If you insist on storing the file in the database, you'll want to use a varbinary(max) data type and do some research on streaming data to and from SQL Server.

-George
Microsoft SQL Server MVP
My Blogs
SQLCop
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top