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 @ 2020-06-22 09:10  dreamw  阅读(2482)  评论(0编辑  收藏  举报