error with NULL character
Posted by: maul attu
Date: February 27, 2005 01:57PM

Hi everybody!
I'm storing into an INNODB table some files (matlab, excel) in a field of type LONGBLOB.
I read these files and with excel files, when i write the query (insert into propulsion values('...');) with a java program, an error occours:

java.sql.SQLException: Syntax error or access violation message from server: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ࡱá' at line 1"

This exception in thrown when the first NULL (\0x00) character is read.
How can I solve this problem?

thanks in advance!

Options: ReplyQuote

Written By
error with NULL character
February 27, 2005 01:57PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.