PD> At 10:43 AM +0530 7/25/01, [EMAIL PROTECTED] wrote:
>> Hi,
>> 
>> I just want to know how to insert a BLOB data type in a field of a
>> table. I want to put the binary data stream not the file link in the
>> filed. The language i m using is PERL5.

PD> Use $dbh->quote() or placeholders to insert the BLOB value into
PD> the query string.  See the DBI docs.

Only use placeholders. $dbh->quote() is unreliable (and this fact is
documented in DBI documentation).

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---------------------------------------------------------------------
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