FREE TABLE Command

Removes a database reference from a table.

FREE TABLE TableName

Parameters

  • TableName
    Specifies the name of the table from which the database reference is removed.

Remarks

If a database is accidentally deleted from disk, references to the database remain in the tables formerly contained in the database. FREE TABLE removes the database references from a table, making it possible for you to open the table or add the table to a different database.

Caution   FREE TABLE should never be issued to remove a table from a database if the database exists on disk. If the database exists on disk, FREE TABLE may render the database unusable. Use REMOVE TABLE instead. Unlike FREE TABLE, REMOVE TABLE removes all references from the database to primary indexes, default values, and validation rules associated with the table.

See Also

ADD TABLE | CREATE DATABASE | OPEN DATABASE | REMOVE TABLE