>>>>> "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
Hi!
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?
Regards,
Monty