Home Forums Article Discussions Article Discussions by Author Discuss content posted by Alejandro Pelc List all permission in all databases RE: List all permission in all databases
ken.trock
SSCertifiable
Points: 5147
More actions
April 16, 2009 at 2:48 pm
#979249
I made a slight change in mine to take into account an Offline DB:
insert into @dbs
select name from sys.databases where state_desc 'offline' order by name
Ken