Why does MySQL refuse pipe ('|') character in string on INSERT INTO
Posted
by Manuel Darveau
on Stack Overflow
See other posts from Stack Overflow
or by Manuel Darveau
Published on 2010-03-24T19:01:04Z
Indexed on
2010/03/24
19:03 UTC
Read the original article
Hit count: 206
If I try this statement:
INSERT INTO TerminalEventChild (id,stringValue) VALUES
(64,'version123|');
MySQL fail with :
Error: 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 ''version123' at line 1
SQLState: 42000
ErrorCode: 1064
If I remove the | character, everything works fine. Any idea?
© Stack Overflow or respective owner