dbf能不能做到set xx=xx where xx=qq的功能
由于项目需要 要把一个dbf文件更新
能不能这样
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null
and
set 字段a =‘未婚’
where 字段b>=25岁 and 字段a is null
那位大侠帮忙下
[解决办法]
可以!
update tableName
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null
发布时间: 2012-03-02 14:40:29 作者: rapoo
dbf能不能做到set xx=xx where xx=qq的功能
由于项目需要 要把一个dbf文件更新
能不能这样
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null
and
set 字段a =‘未婚’
where 字段b>=25岁 and 字段a is null
那位大侠帮忙下
[解决办法]
可以!
update tableName
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null