Cla*_*idu 2 sql int replace numbers
这有效 select replace('string with space',' ','')并返回stringwithspace。
select replace('string with space',' ','')
这不起作用select replace('8 190',' ',''),它返回 8 190
select replace('8 190',' ','')
这与select replace('8 190',' ','')返回 8 190相同。
为什么不起作用?
Mat*_*att 5
string_pattern 需要包含空格的 ASCII 码 160  
 
SELECT REPLACE('8 190', char(160),'')
归档时间:
10 年,9 月 前
查看次数:
13711 次
最近记录:
6 年,2 月 前