Skip to content

TSQLConnection.GetTableNames

Get a list of the tables in the specified database.

Declaration

Source position: sqldb.pp line 290

public 
procedure TSQLConnection.GetTableNames(List: TStrings; 
                                      SystemTables: Boolean=False)
                                      ;  virtual;

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.

Remark:

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

See also

Name Description
TSQLConnection.GetProcedureNames Gets a list of Stored Procedures in the Database.
TSQLConnection.GetFieldNames Gets a list of the field names in the specified table.