PDA

View Full Version : saving image file and label txt into SQL



agimoura
02-07-2010, 11:35 PM
HI

I been saving image file and label txt into SQL server database with binary mode, uploading from any images source .

Is there a better and a fast way script to do it?

Thanks

bdl
02-07-2010, 11:41 PM
Very vague question. Are you asking if there is a better way to store binary data than you've worked up, or if there is a better alternative to storing binary data?

agimoura
02-08-2010, 01:00 AM
Very vague question. Are you asking if there is a better way to store binary data than you've worked up, or if there is a better alternative to storing binary data?

You are right.

The questiosn is if there is a better alternative to storing binary data.

Thanks

MattF
02-08-2010, 02:02 AM
Use the filesystem for its intended purpose. Save the image to file and insert just the path of the image in the DB.