SQL Server SYSTEM_USER Function
Example
Return the login name information for the current user:
SELECT SYSTEM_USER;
Try it Yourself »
Definition and Usage
The SYSTEM_USER function returns the login name for the current user.
Syntax
SYSTEM_USER
Technical Details
Works in: | SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.