Topic

SQL Server

A collection of 22 posts

Stored Procedure to assign permissions

This is a useful stored procedure for assigning permissions to users quickly and easily. We tend to assign a new login to each application we develop, this way we limit the damage possible in the event of a username/password compromise. /*-------------------------------------------------------------------------- Automatically assign the role permissions --------------------------------------------------------------------------*/USE DatabaseNameSET
1 min read

Subscribe to TSD

Don’t miss out on the latest posts. Sign up now to get access to the library of members-only posts.
jamie@example.com
Subscribe