MySQL Forums
Forum List  »  Newbie

Re: how to insert ampersand in mysql table column with varchar data type
Posted by: Peter Brawley
Date: June 09, 2014 09:38AM

Eh?

drop table if exists t;
create table t(c varchar(8));
insert into t values( concat('&','abc') );
select * from t;
+------+
| c    |
+------+
| &abc |
+------+

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.