Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDatabase::DropTable

Syntax

void DropTable(const CTString& Name)

Parameters

  • Name [in] The name of the table to drop from the database.

Description

Drops a table from the database, but does not delete the files from disk. After one table has been dropped from the database, it may be operated independent from a Database using the CTSession::SetLogonOnly() method, or it may be added to any other database in the system.

Return

None.

Example


pMyTable->Close(); // close the custmast table.

pMyDatabase->DropTable("custmast");


See also

DeleteTable(), AddTable(), CTSession::SetLogonOnly()

TOCIndex