【发布时间】:2015-08-27 13:48:40
【问题描述】:
在 SQL 中,我想用任何内容替换每个家庭的限制 n,其中 n 可以是 1-100。我怎么做?我试过了……
update t set field1 = Replace(field1,'Limit%per family','')
没有更新。
【问题讨论】:
-
您使用的是哪种 RDBMS/数据库软件?
-
字段 1 的值中有字符串文字吗?如果是这样,你没有任何空格吗?你在这里想要做什么真的不是很清楚。
标签: sql variables replace sql-update