update [dbo].[User] set [dbo].[User].Status =** p.StaffType ?'True':'False' ** from #v_interface_staff p
3条回答 默认 最新
行走的小sober 2016-10-08 03:48关注update #v_interface_staff set stafftype=case when stafftype='Inactive' then 'False' else 'True' end
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报