How to check current user name of database in SQL Server?
844
18-Nov-2021
Ashutosh Kumar Verma
18-Nov-2021SQL CURRENT_USER :
There is a advance function in SQL Server is used to find the current user name of SQL server database that is, CURRENT_USER.
Example:
Outout:
dbo