how can i get only tables and views for a database.
Code: Select all
List := TSringList.Create;
try
Conn.Server := 'Server';
Conn.Port := 3306;
Conn.Username := 'root';
Conn.Password := '****';
Conn.Database := 'DBName';
Conn.Open;
Conn.GetTableNames(List);
// In the List views are available.
// How can i get views ?? Conn.GetViewNames not available
finally
List.Free;
end;