PgDAC

TCustomDAConnection.GetTableNames

Provides a list of available tables names.

Unit

Syntax

Remarks

Call the GetTableNames method to get the names of available tables. Populates a string list with the names of tables in the database. If AllTables = True, procedure returns all table names including the names of system tables to the List parameter, otherwise List will not contain the names of system tables. If AllTables = True, the procedure returns to the List parameter the names of the tables that belong to all schemas; otherwise, List will contain the names of the tables that belong to the current schema.

Note: Any contents already in the target string list object are eliminated and overwritten by the data produced by GetTableNames.

See Also

© 1997-2026 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback