ACCESS中想要去掉字段中的空格如何写SQL语句

2025-01-19 03:34:20
推荐回答(4个)
回答1:

谁说没有replace函数,是不是写错了

update yzh set zh=replace(zh,' ','')

回答2:

放在sql语句外面

zh=replace(zh," ","")
UPDATE yzh SET zh = trim([zh]);

回答3:

用replace函数,replace(zh," ","")

回答4:

用记录集来做吧!~~