MySQL Forums
Forum List  »  Newbie

Re: how to insert ampersand in mysql table column with varchar data type
Posted by: Sanket Bhalerao
Date: June 09, 2014 06:12AM

got solution to the problem,

you can reffer link http://www.orafaq.com/wiki/SQL_FAQ#How_does_one_escape_special_characters_when_writing_SQL_queries.3F

i used
SET ESCAPE '\'
SELECT '\&abc' FROM dual;

Options: ReplyQuote




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.