Reputation: 141
i want to select a separator for CONCAT_WS() that not confilict by field value for example if i select "," maybe field value have string with "," i want to select a seperator than not confilict by field value :(
Upvotes: 0
Views: 524
Reputation: 54072
Hope U R USING PHP
choose your own separator like
$glue=®(alt 0174)
CONCAT_WS($glue,str1,$str2)
Upvotes: 1
Reputation: 7246
From here:
CONCAT_WS(char(22 using utf8), "this", "that");
Upvotes: 2