December 2nd, 2008

SYSTEM_USER (user of oper. sys.)

Posted by admin in G. ANSI Scalar Functions

Use SYSTEM_USER to retrieve the current active user within the host operating system.
Example:

          SELECT SYSTEM_USER AS 'SysUser';

Result:

                   

> PostgreSQL, SQL Server, and Sybase support SYSTEM_USER.

> Access, DB2, MySQL, and Oracle don’t support SYSTEM_USER.

Comments are closed.

Sorry, the comment form is closed at this time.