This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************************************* | |
sp_AzSQLDBPermissions V1.0 | |
Kenneth Fisher | |
http://www.sqlstudies.com | |
This stored procedure returns 3 data sets. The first dataset is the list of database | |
principals, the second is role membership, and the third is object and database level | |
permissions. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE master | |
GO | |
IF OBJECT_ID('dbo.sp_DBPermissions') IS NULL | |
EXEC sp_executesql N'CREATE PROCEDURE dbo.sp_DBPermissions AS PRINT ''Stub'';' | |
GO | |
/********************************************************************************************* | |
sp_DBPermissions V6.2 | |
Kenneth Fisher | |
http://www.sqlstudies.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE master | |
GO | |
IF OBJECT_ID('dbo.sp_SrvPermissions') IS NULL | |
EXEC sp_executesql N'CREATE PROCEDURE dbo.sp_SrvPermissions AS PRINT ''Stub'';' | |
GO | |
/********************************************************************************************* | |
sp_SrvPermissions V6.1 | |
Kenneth Fisher | |
http://www.sqlstudies.com |