dbGetTableIdGoAhead WebServer APIGoAhead EMF

Synopsis

Return the Table Identifier corresponding to the given table name.

Prototype

 #include "emfdb.h"

 int dbGetTableId(int did, char_t * tname);

Parameters

did - Database Identifier
tname - the name of the table

Description

The database module defines the table identifier internally.

Return Value

dbGetTableId returns the table id if successful, or -1 if not found.

Example

int tableID = dbGetTableId(0, T("USERS"));

See Also

dbGetTableName()