Closes the currently open tables and their associated files in the active database
CLOSE TABLES [ALL]
ADATABASES(), ALTER INDEX, ALTER TABLE, CLOSE DATABASES, COMPILE DATABASE, COPY DATABASE, CREATE DATABASE, CREATE TABLE, CREATE INDEX, CREATE VIEW, DBUSED(), DISPLAY DATABASE, DISPLAY INDEXES, DISPLAY SCHEMAS, DISPLAY TABLES, DROP DATABASE, DROP INDEX, DROP TABLE, GETENV(), LIST DATABASE, LIST INDEXES, LIST SCHEMAS, LIST TABLES, OPEN DATABASE, SET AUTOCATALOG, SET EXCLUSIVE, USE
The CLOSE TABLES command closes the currently open tables and their associated files in the active database. The database itself remains open. If no database is currently open, all tables and their associated files are closed.
If the ALL keyword is included, all tables and their associated files will be closed.
OPEN DATABASE hr EXCLUSIVE use staff CLOSE TABLES