Hello,
How can I get the list of tables in a PostgreSQL DB with PgDAC ?
Many thanks
Pio Pio
List of tables in a DB
Re: List of tables in a DB
Hello,
There is a demo sample of retrieving the table list.
There is a demo sample of retrieving the table list.
Code: Select all
var
TableList: TStringList;
i: integer;
begin
TableList := TStringList.Create;
try
PgConnection1.GetTableNames(TableList);
for i := 0 to TableList.Count - 1 do
ShowMessage(TableList[i]);
finally
TableList.Free;
end;
end;