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