Returns the user name for the specified user ID.
USER_NAME( [ user-id ] )
user-id The user ID of the user you are searching for.
LONG VARCHAR
If you do not specify user-id, the user name of the current user is returned.
SQL/2003 Vendor extension.
The following statement returns the user name for user ID 101.
SELECT USER_NAME( 101 ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |