Function DbDestroy() Foundation
Permanently deletes a table
DbDestroy() --> NIL
The return value of DbDestroy() is always NIL.
The table function DbDestroy() permanently deletes the table in the current workarea. If the table is associated with a database, the table is removed first. Indexes, relations or other metadata associated with the table are also removed.
The workarea is closed after the function DbDestroy() returns. When the function is used without the alias operator, the table of the current work area is deleted.
DbDestroy() drops an ISAM emulating table on the PostgreSQL server. When used in conjunction with a NoSQL file-based data storage, the function deletes the dbf/dbf or dbf/fpt files associated with the table.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.