I would like to know what size of image i can store into db. I am using SQL server.
and after storing image into db how do I read it
brokerandy25 - 29 May 2007 18:03 GMT
Depending on the DB you should be able to store it in a BLOB field, I would
recommend storing the file name for the image and referencing the image via
<img src="http://www.yoursite.com/images/#query.filename#"> thou'
HTH
CodeJockey - 30 May 2007 18:24 GMT
According to MS Technet, SQL Server 2000 has a 2GB limit for BLOB
fields. As for retrieving a BLOB from the DB, I've only done it with
an Oracle DB. There, I had to write a Java utility class that used
JDBC to store and retrieve the binary data from the DB. I can give
you some example code if you're intersted