2011-04-13 103 views
0

我想为CONCAT_WS()选择一个不符合字段值 的分隔符,例如,如果我选择“,”字段值可能带有“,”的字符串 我想选择一个分隔符而不是confilict字段值:(CONCAT_WS分隔符

回答

0

希望UR使用PHP

选择自己喜欢分离

$glue=®(alt 0174) 


CONCAT_WS($glue,str1,$str2) 
2

here

CONCAT_WS(char(22 using utf8), "this", "that"); 
+0

+1对于使用纯MYSQL – diEcho 2011-04-13 06:06:46