This 存储过程 is used by the Roles administration page to update the display name of the specified role. The input parameter is the RoleID.
定义:
CREATE PROCEDURE UpdateRole
(
@RoleID int,
@RoleName nvarchar(50)
)
AS
UPDATE
Roles
SET
RoleName = @RoleName
WHERE
RoleID = @RoleID
使用的数据库中的表:
Roles: Each record in the Roles table defines a unique role in the selected portal. Users are added to a role via the UserRoles lookup value table.
The primary key in this table is the RoleID identity field.