index_name

Returns an index name, when you provide the index ID, the database ID, and the object on which the index is defined.

Syntax

index_name(dbid, objid, indid)

Parameters

Examples

Usage

index_name:
  • Uses the current database ID, if you pass a NULL value in the dbid parameter

  • Returns NULL if you pass a NULL value in the dbid parameter.

  • Returns the object name, if the index ID is 0, and you pass valid inputs for the object ID and the database ID.

Permissions

Any user can execute index_name.

Related reference
db_id
object_id