Return the login name information for the current user:
SELECT SYSTEM_USER;
Try it Yourself »
The SYSTEM_USER function returns the login name for the current user.
SYSTEM_USER
Works in: | SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!