sqlserver 批量更新

select  * from [LPicture]
UPDATE [dbo].[LPicture] SET [picGroup] = '3213'
 WHERE  LPictureid in(1,2);

 

select * from LPicture where LPictureid not in ('')
select * from LPicture where LPictureid not in (null) --什么也查不出来
select * from LPicture where LPictureid not in (select contentlist from DPSeting where DPSetingid=2)

 

posted @ 2018-12-13 09:43  enych  阅读(1476)  评论(0编辑  收藏  举报