List:General Discussion« Previous MessageNext Message »
From:Mark Lo Date:June 20 2000 6:09pm
Subject:Re: Storing BLOBs ??is it a faq?
View as plain text  
Hi,

     Now, I know how to insert and update.  Then what is the syntax for retirve
the image file so that it can be shown on the web.

Thank you so much

Mark

sinisa@stripped wrote:

> Dr. Dieter Becker writes:
>  > Thank You very much,
>  >
>  > but there rests a little question. How to insert this binary file in a
>  > defined row? All other data are in this row, only the binary file must be
>  > inserted?
>  >
>  > Dieter
>  >
>  > Dr. med. Dipl.-Math. Dieter Becker
>  > Medizinische Universitäts- und Poliklinik
>  > Innere Medizin III
>  > D66421 Homburg
>
> HI!
>
> You mean to update an existing row ??
>
> Like this:
>
> update binbin set binfield=load_file("/tmp/bindata.bin") where
> primary_key=......;
>
> Regards,
>
> Sinisa
>
> +----------------------------------------------------------------------+
> |      ____  __     _____   _____  ___     ==  MySQL AB                |
> |     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
> |    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped     |
> |   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
> |  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
> |  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
> |             /*/             \*\                Developers Team       |
> +----------------------------------------------------------------------+
>
> --
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/php/manual.php3" before
> posting. To request this thread, e-mail mysql-thread40960@stripped
>
> To unsubscribe, send a message to:
>     <mysql-unsubscribe-markloky=netvigator.com@stripped>

Thread
Storing BLOBs ??is it a faq?Dr. Dieter Becker20 Jun
  • Re: Storing BLOBs ??is it a faq?sinisa20 Jun
    • RE: Storing BLOBs ??is it a faq?Dr. Dieter Becker20 Jun
      • RE: Storing BLOBs ??is it a faq?sinisa20 Jun
      • Re: Storing BLOBs ??is it a faq?Steve Ruby20 Jun
    • Re: Storing BLOBs ??is it a faq?Mark Lo20 Jun
      • Re: Storing BLOBs ??is it a faq?Masood Nasir20 Jun
      • Re: Storing BLOBs ??is it a faq?sinisa21 Jun
    • Re: Storing BLOBs ??is it a faq?Mark Lo21 Jun
      • Re: Storing BLOBs ??is it a faq?sinisa21 Jun
        • Re: Storing BLOBs ??is it a faq?Thimble Smith21 Jun
RE: Storing BLOBs ??is it a faq?Dennis Gearon20 Jun