Example
SELECT SYSTEM_USER;Definition and Usage
The SYSTEM_USER function returns the login name for the current user.
Syntax
SYSTEM_USERTechnical Details
| Works in: | SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
|---|
Loading lesson path
Example
SELECT SYSTEM_USER;The SYSTEM_USER function returns the login name for the current user.
Syntax
SYSTEM_USER| Works in: | SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
|---|