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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting a picture into a sql server database

Status
Not open for further replies.

twright

Programmer
Jul 1, 2001
4
US
hello all. how can i allow a user to insert a picture into a sql server database from a form on a webpage? thanks for the help.
 
First an opinion - shared by many. "Do not store binary files, image files, or BLOBs inside a SQL database. Store the path to the binary/image file in the database and use the path as a pointer to the actual file. Storing, retrieving and manipulating large binary files is better performed outside the database. A database is not meant for storing files."

HOWTO: Display an Image on a Web Page When the Path Is Stored in a Database

-----------------------------------

Now if you insist, here are some resources to help you store and retrieve image files.

Terry Broadbent

"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top