62,046
社区成员
发帖
与我相关
我的任务
分享
string Sql = "update Members set Password = @Password where UserName = @UserName";
return DBAccess.ExecuteNonQuery(CommandType.Text, Sql, sps);
select '1' union all
select '3' union all
select '2222' union all
select 'a'
select @@ROWCOUNT as '相应行数'
--结果
--相应行数
--4
UPDATE HR_Members
SET Password = '123'
WHERE (UserName = '0004')