-- PROCEDURE GRANTS PERMISSION TO A GIVEN SQL USER
-- TO ALL OBJECTS WITHIN A GIVEN CATALOG CONTEXT
-- STORED PROCEDURES, VIEWS, TABLES, SELECT FUNCTIONS, EXECUTE FUNCTIONS
-- MODIFY AS REQUESTED
-- SAMPLE EXECUTE
-- EXECUTE sp_All_Object_Security_Grant 'WUA'
SP that shows information from a given database
It is used to show information from a database. It shows the creation date, it calculates the time in days, months and hours since its creation and it shows all the users with rights in that database.
2002-01-27
2,169 reads