Executing the procedure with parameters @DBNAME = 'database_name' , @USERS = 'ALL' and @EXCEPT = '' deletes all users from the specified database without any exceptions.
View screenshots Here
Executing the procedure with parameters @DBNAME = 'database_name' , @USERS = 'ALL' and @EXCEPT = 'list_user_exception' deletes all users from the specified database excepting the users specified in the @EXCEPT parameter.
View screenshots Here
Executing the procedure with parameters @DBNAME = 'database_name' , @USERS = 'list_users' and @EXCEPT = '' deletes the specified users given in the @USERS parameter.
View screenshots Here
|