Sign in Join
FPDoc Onlineexperiment

TSQLConnection.GetTableNames procedure

Member of TSQLConnectionpublicIn unit SQLDB

Get a list of the tables in the specified database.

Declaration

pascal
procedure GetTableNames(List: TStrings; SystemTables: Boolean=False)
 ; virtual

Arguments

List

String list in which table names will be returned.

SystemTables

If True then system table names will also be returned.

Description

GetTableNames will return the names of the tables in the database in List. If SystemTables is True then only the names of system tables will be returned.

List is cleared before adding the names.

Note that the list may depend on the access rights of the user.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.