DISPLAY TABLES

From Lianjapedia
Revision as of 10:48, 4 February 2013 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Display table information about the active database

Syntax

DISPLAY TABLES [TO FILE <.txt filename> | (<expC>)]

See Also

ADATABASES(), ALTER TABLE, ALTER INDEX, CLOSE DATABASES, CLOSE TABLES, COMPILE DATABASE, COPY DATABASE, CREATE DATABASE, CREATE INDEX, CREATE TABLE, CREATE VIEW, DBUSED(), DISPLAY DATABASE, DISPLAY INDEXES, DISPLAY SCHEMAS, DROP DATABASE, DROP INDEX, DROP TABLE, GETENV(), LIST DATABASE, LIST INDEXES, LIST SCHEMAS, LIST TABLES, OPEN DATABASE, PACK DATABASE, SET AUTOCATALOG, SET EXCLUSIVE, SET SQL, USE

Description

The DISPLAY TABLES command displays the base name and file name including the full path for each table in the currently active database.

TO <file>

The display output will be sent to the specified file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then ".txt" will be used.

Example

OPEN DATABASE southwind
DISPLAY TABLES