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

Storing a Graphic in an SQL Database 1

Status
Not open for further replies.

JpPhysics

Programmer
Jan 10, 2002
19
US
I would like to know if it is possible, and if so how to, store a graphic like a .wmf or .jpg file in an sql database.

Thanks for your help.
 
Thanks for the direction.

Man, looks like I've got quite a bit of work ahead of me.
 
Ok, I have read the article, but I don't understand about the size of the field. Am I limited by SQL Sever on the size of the the Image or what?

Also, how, in VB can I break up an Image file into smaller chunks to save into the database if that is what's required?
 
if You define the image column as image the data size is practically unlimited.
dont know much abt VB - in C using ODBC data up to ~400kb can be bound directly to the table column, larger data must be split and put in parts.
PFR
 
Thanks again for your help. This has been most educational. I think that I have it now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top