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.

ul_u_long ULGetDatabaseID(
SQLCA *  sqlca

sqlca   A pointer to the SQLCA.

  • The value set by the last call to SetDatabaseID.

  • UL_INVALID_DATABASE_ID if the ID was never set.


The current database ID used for global autoincrement.

See also