6 lines
160 B
Transact-SQL
6 lines
160 B
Transact-SQL
CREATE PROCEDURE UpdateUserName @OldName varchar(255), @NewName varchar(255)
|
|
AS
|
|
UPDATE Users
|
|
SET UserName = @NewName, LikeCount = 0
|
|
WHERE UserName = @OldName
|
|
GO |