Viewing 2 posts - 1 through 2 (of 2 total)
Updated the script to make it work with SQL Server 2019
Thank You all for the initial code. It helped me a lot and saved a lot of time, too.
I can...
July 29, 2020 at 10:04 pm
#3775842
Hi I just tried this usefull function unter SQL 2014.
In order to maked it run again i needed to replace
permissions(id)
with
(SELECT COUNT(*) FROM fn_my_permissions(id, 'DATABASE'))
because permissions is marked as...
January 26, 2016 at 3:41 am
#1854386