db_result_t db_get_tableid ( db_t  hdb,
const db_objname_t table_name,
db_oid_t oid 
)

Obtain the object ID for a table.

Parameters:
hdb Database handle.
table_name Table name.
oid Returned object id.
Returns:
On failure, one of the following error codes is set:
  • DB_EINVAL Caused by: invalid database handle, table name is null or object id points to null.

See also:
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.