Where's your problem ? Creating a table that will hold a jpeg (use a varbinary field) ? or actually putting the data in? If it's the latter, what programming language are you using ?
Hello moonshadow,
my problem is actually inserting the file into the database.
I have a table with PhotoID ( int ), and Photo ( Image ).
I want to insert the file into the table using asp.
This details a way to save the image to a SQL Server database and a way to save the image file out of the same database. I'm working on a similar solution and have it working using ADO thru VB (using RS.AddNew...RS.Update). If anyone out there knows the INSERT SQL syntax to add the image to a SQL Server IMAGE DataType field, your help would be greatly appreciated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.