34,590
社区成员
发帖
与我相关
我的任务
分享
update UserData set [password]=123123,[permissions]=2,--敏感字段屏蔽下
age='年龄',nation='民族',sex='man',birth='2014-04-22',-- birth字段一般是datetime类型,用这种赋值比较好
idCard='身份证',phone='电话',email='邮箱'
where userID='111149068297865'
UPDATE UserData
SET [password] = 123123 ,
[permissions] = 2 ,
age = '年龄' ,
nation = '民族' ,
sex = 'man' ,
birth = '2014年4月22日' ,
idCard = '身份证' ,
phone = '电话' ,
email = '邮箱'
WHERE userID = '111149068297865'