Deleting a table

From InterBase

Go Up to Working with Tables

At design time, to delete a table from a database, right-click the table component and select Delete Table from the context menu. The Delete Table menu pick will only be present if the table component represents an existing database table (the Database and TableName properties specify an existing table).

To delete a table at runtime, call the table component’s DeleteTable method. For example, the following statement removes the table underlying a dataset:

When you delete a table with DeleteTable, the table and all its data are gone forever.

Advance To: