GET-EFFECTIVE-TENANT-ID function

Returns the tenant ID of the effective tenant as an integer.

Syntax

GET-EFFECTIVE-TENANT-ID( [database-name] )
database-name
A character expression that evaluates to a logical database name or database alias. If no database is specified and more than one database is connected, the AVM raises an error. If the database name is not a valid name for a connected database, the AVM raises an error.

Notes

See also

GET-EFFECTIVE-TENANT-NAME function, SET-EFFECTIVE-TENANT function, TENANT-ID function