I use blob columns.  One thing I do though is store them in there own table
and not in a table with other data.  I just link through primary key.

That way when you are not looking for an image the database does not have to
deal with it.  Also it's easier for disaster recovery since you do not have
tons of binary data mix with textual data.

Serge.

----- Original Message -----
From: "Khanh Pham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 4:58 AM
Subject: Save Image (GIF or JPEG) file in the database ?


> Hello ladies & gents,
>
> I am new to MySQL. I wonder if I can save a picture in the database,
> then I can load into a JSP. The perfect example is an employee page !
>
> Thanks in advance for your helps !
>
> /Khanh
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to