Returns the object name.
OBJECT_NAME ( object-id [ , database-id ] )
Parameter
Description
object-id
The object ID.
database-id
The database ID.
The following statement returns the name “customer:”
SELECT OBJECT_NAME ( 100209 ) FROM iq_dummy
SQL—Vendor extension to ISO/ANSI SQL grammar.
Sybase—Adaptive Server Enterprise function implemented for Sybase IQ.