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

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

 

USER_NAME function [System]

Returns the user name for the specified user ID.

Syntax
USER_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   Vendor extension.

Example

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

SELECT USER_NAME( 101 );