How to check current user name of database in SQL Server? Ashutosh Kumar Verma44518-Nov-2021mssql serversql server sql
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