Database as untrustworthy, meaning that objects in the database cannot access objects in other databases in an impersonated context.
set @sql = 'ALTER DATABASE ' +
QUOTENAME(@db_name) + ' SET
TRUSTWORTHY OFF'
execute( @sql )
Database as untrustworthy, meaning that objects in the database cannot access objects in other databases in an impersonated context.
set @sql = 'ALTER DATABASE ' +
QUOTENAME(@db_name) + ' SET
TRUSTWORTHY OFF'
execute( @sql )
0 Comments.