How can I find the definitions of below system functions in SQL Server:
- has_access
- permission_name
I tried with DAC connection but getting below error:
Msg 15009, Level 16, State 1, Procedure sp_helptext, Line 54 [Batch Start Line 118]
The object 'has_access' does not exist in database 'master' or is invalid for this operation.
Please let me know if any further details are required. Thanks!
mssqlsystemresource
database (which can be attached as a user database), I suspect these are implemented in the database engine code. Why are you looking for the source code?