Insert ascii data in mysql
Posted by: Roberto Zanaboni
Date: November 30, 2013 05:12PM

Dear Forum

My application receive numerical data from 0 to 255.
Before i write in mysql whit the INSERT, i code this numbers( example in
UNicode OEM 437) so is a little possible to read some data (Es if arrive 41 i read A end so on).
Problem is , many chars are similar to the mysql command.

Example:
INSERT INTO tableName (Colon1Name)
VALUE (“Data Col1 ”)

The char " ,if present in ----Data Col1--- of course generate a error
in mysql sintax.

So question are:
-How can I avoid this problem

-What code is better to use

Many thanks

Roberto

Options: ReplyQuote


Subject
Written By
Posted
Insert ascii data in mysql
November 30, 2013 05:12PM


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.