EPUB | CHM | PDF

TPSQLDatabase.Methods.GetTableNames

Top Previous Next

Populates a string list with the names of tables associated with a specified database component.

Syntax:

procedure GetTableNames(Pattern: String; SystemTables: Boolean; List: TStrings);

Parameters:

Pattern

Specifies a delimiter string that restricts the tables returned to those that match the string. Pattern may include wildcard symbols. Pass an empty Pattern string to match all tables not restricted by other criteria.

SystemTables

Specifies whether to include system tables into the list.

List

A string list object, created and maintained by the application, in which the tables names will be return to.

This method will include views into return list.

Description:

Call GetTableNames to retrieve a list of the tables associated with a given database.