Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Insert ascii data in mysql (no replies)

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

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>