OBJECT_ID function [System]

Function

Returns the object ID.

Syntax

OBJECT_ID ( object-name )

Parameters

object-name The name of the object.

Examples

The following statement returns the object ID 100209 of the Customers table:

SELECT OBJECT_ID ('CUSTOMERS') FROM iq_dummy

Standards and compatibility

See also

“COL_NAME function [System]”

“DB_ID function [System]”

“OBJECT_NAME function [System]”