ULGetDatabaseID function

Gets the current database ID.

Syntax
ul_u_long ULGetDatabaseID(
SQLCA *  sqlca
)
Parameters

sqlca   A pointer to the SQLCA.

Returns
  • The value set by the last call to SetDatabaseID.
  • UL_INVALID_DATABASE_ID if the ID was never set.
Remarks

The current database ID used for global autoincrement.

See also