Returns the user name.
SUSER_NAME ( [user-id ] )
user-id The user identification number.
The following statement returns the value DBA:
SELECT SUSER_NAME ( 1 ) FROM iq_dummy
The following statement returns the value SYS:
SELECT SUSER_NAME ( 0 ) FROM iq_dummy
Sybase Adaptive Server Enterprise function implemented for Sybase IQ. In Adapter Server Enterprise, SUSER_NAME returns the server user name.