List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:June 8 1999 10:16pm
Subject:binary data
View as plain text  
>>>>> "Thomas" == Thomas Kwan <thomask@stripped> writes:

Thomas> I want to add a stream of binary data (a jpeg file) via
Thomas> SQL insert command. What format do I need to use when inserting the
Thomas> binary data?

Thomas> thanks


The MySQL manual tells you which characters you should escape.
Manual section: 'Literals: how to write strings and numbers'

Most MySQL API:s has also a function to escape a string
(mysql_escape_string in C or the quote in perl).

Which language are you using?

binary data(Thomas Kwan)9 Jun
  • binary dataMichael Widenius9 Jun
  • Re: binary dataYing Zhang9 Jun
  • Re: binary data(Thomas Kwan)9 Jun
  • Re: binary dataChristian Mack9 Jun
  • Re: binary dataChristian Mack10 Jun