select * from a where id in('1','2','3','4')
update a set val=10 where id in('1','2','3','4')查询没有问题更新就有问题。提示 <关键字 'where' 附近有语法错误.>是不是update不支持这个格式
update a set val=10 where id in('1','2','3','4')查询没有问题更新就有问题。提示 <关键字 'where' 附近有语法错误.>是不是update不支持这个格式
set val=10
where id in ('1','2','3','4')
10where --这样格式如果是以上情况,在记事本输入空格或回车,再Copy回查询分析器
set val=10
where
id in('1','2','3','4')