Returns the object ID.
OBJECT_ID ( object-name )
Parameter
Description
object-name
The name of the object.
The following statement returns the object ID 100209 of the Customers table:
SELECT OBJECT_ID ('CUSTOMERS') FROM iq_dummy
SQL—Vendor extension to ISO/ANSI SQL grammar.
Sybase—Adaptive Server Enterprise function implemented for Sybase IQ.