Previous  Next

DatabaseTableExists

Checks the presence of the table in a database.

bool  DatabaseTableExists(
   int     database,      // database handle received in DatabaseOpen
   string  table          // table name
   );

Parameters

database

[in]  Database handle received in DatabaseOpen().

table

[in]  Table name.

Return Value

Return true if successful, otherwise false. To get the error code, use GetLastError(), the possible responses are:

See also

DatabasePrepare, DatabaseFinalize