Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » Embedded SQL API reference

 

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