Proc_UpdateUser.txt
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. CREATE PROC Proc_UpdateUser
  2.       (@userID nvarchar(50),
  3.        @userName nvarchar(50),
  4.        @roleID  int,
  5.        @userGender bit,
  6.        @userDepartment nvarchar(50),
  7.        @userAddress nvarchar(50))
  8. AS
  9. update [Users] set userName=@userName,
  10.                   roleID=@roleID,
  11.                   userGender=@userGender,
  12.                   userDepartment=@userDepartment,
  13.                   userAddress=@userAddress
  14. where userID=@userID
  15. select * from users
  16. exec  Proc_UpdateUser 2,leo,2,0,computer,Beijing