EPUB | CHM | PDF

TMySQLDatabase.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; List: TStrings);

Description:

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

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

List is a string list object, created and maintained by the application, into which to return the table names.