Difference between revisions of "REMOVE TABLE"

From Lianjapedia
Jump to: navigation, search
(See Also)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Remove the specified table from the currently active database
 
Remove the specified table from the currently active database
 
  
 
==Syntax==
 
==Syntax==
 
REMOVE TABLE <table>
 
REMOVE TABLE <table>
 
  
 
==See Also==
 
==See Also==
Line 12: Line 10:
 
==Description==
 
==Description==
 
The REMOVE TABLE command is used to remove a table from the currently active database.
 
The REMOVE TABLE command is used to remove a table from the currently active database.
 
  
  
Line 23: Line 20:
  
  
Databases in Recital are implemented as directories containing files that correspond to the tables and associated files in the database.  Operating System file protection can be applied individually to the files for added security.  The directories are sub-directories of the Recital data directory.  The environment variable / symbol DB_DATADIR points to the current Recital data directory and can be queried using the GETENV() function.  Files from other directories can also be added to the database using the ADD TABLE command or via the database catalog and SET AUTOCATALOG functionality.
+
Databases in Recital are implemented as directories containing files that correspond to the tables and associated files in the database.  Operating System file protection can be applied individually to the files for added security.  The directories are sub-directories of the data directory.  The environment variable / symbol DB_DATADIR points to the current data directory and can be queried using the GETENV() function.  Files from other directories can also be added to the database using the ADD TABLE command or via the database catalog and SET AUTOCATALOG functionality.
 
+
  
 
==Example==
 
==Example==
Line 35: Line 31:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]

Revision as of 11:40, 26 October 2011

Purpose

Remove the specified table from the currently active database

Syntax

REMOVE TABLE <table>

See Also

ADATABASES(), ADD TABLE, ALTER INDEX, ALTER TABLE, BACKUP DATABASE, CLOSE TABLES, COMPILE DATABASE, CREATE DATABASE, CREATE TABLE, CREATE INDEX, CREATE VIEW, DATABASE(), DBUSED(), DISPLAY DATABASE, DISPLAY INDEXES, DISPLAY TABLES, DROP DATABASE, DROP INDEX, DROP TABLE, GETENV(), LIST DATABASE, LIST INDEXES, LIST TABLES, OPEN DATABASE, PACK DATABASE, REBUILD DATABASE, REINDEX DATABASE, RESTORE DATABASE, SET AUTOCATALOG, SET DATADIR, SET EXCLUSIVE, USE

Description

The REMOVE TABLE command is used to remove a table from the currently active database.


Keywords Description
table This is the name of the table to be removed from the database.


Databases in Recital are implemented as directories containing files that correspond to the tables and associated files in the database. Operating System file protection can be applied individually to the files for added security. The directories are sub-directories of the data directory. The environment variable / symbol DB_DATADIR points to the current data directory and can be queried using the GETENV() function. Files from other directories can also be added to the database using the ADD TABLE command or via the database catalog and SET AUTOCATALOG functionality.

Example

CREATE TABLE freetable (freeid char(10))
open database southwind
ADD TABLE freetable
list files
REMOVE TABLE freetable