RAD Studio VCL Reference
|
TQuery represents a dataset with a result set that is based on an SQL statement.
TQuery = class(TDBDataSet);
class TQuery : public TDBDataSet;
Use TQuery to access one or more tables in a database using SQL statements. Query components can be used with remote database servers (such as Sybase, SQL Server, Oracle, Informix, DB2, and InterBase), with local tables (Paradox, InterBase, dBASE, Access, and FoxPro), and with ODBC-compliant databases.
Query components are useful because they can
Access more than one table at a time (called a "join" in SQL).
Automatically access a subset of rows and columns in its underlying table(s), rather than always returning all rows and columns.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|