Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL functions » SQL functions (P-Z)

 

SUSER_NAME function [System]

Returns the user name for the specified user ID.

Syntax
SUSER_NAME( [ user-id ] )
Parameters
  • user-id   The user ID of the user you are searching for.

Returns

LONG VARCHAR

Remarks

If you do not specify user-id, the user name of the current user is returned.

See also
Standards and compatibility
  • SQL/2003   Transact-SQL extension.

Example

The following statement returns the user name for a user with ID 101.

SELECT SUSER_NAME( 101 );