Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 CONCAT_WS() 选择一个不与字段值冲突的分隔符,例如,如果我选择“,”,可能字段值的字符串带有“,”我想选择一个分隔符,而不是与字段值冲突:(
从这里:
CONCAT_WS(char(22 using utf8), "this", "that");
希望你使用 PHP
选择你自己的分隔符,比如
$glue=®(alt 0174) CONCAT_WS($glue,str1,$str2)