Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic


Get the handle of an active/open table by its unique identifier.


CTHANDLE ctdbFindActiveTableByUID(CTHANDLE Handle, ULONG uid)


ctdbFindActiveTableByUID() retrieves the handle of an active/open a table in a database dictionary by the table’s unique identifier.

Use ctdbFindActiveTable() to get the handle of an active/open table by name.

Use ctdbFindTableByUID() to get the name and path of any table in the database dictionary by its Unique identifier.

  • Handle [in] - the handle of the database to be searched.
  • uid [in] - the unique table identifier, used to locate the table. It is set automatically when the table is created.


ctdbFindActiveTableByUID() returns the table handle or NULL if the specified table is not in the database dictionary or is not active/open.

See also

ctdbFindTableByUID(), ctdbFindActiveTable(), ctdbGetDatabaseUID()