Sign in Join
FPDoc Onlineexperiment

TSQLQuery.Database property

Member of TSQLQuerypublishedIn unit SQLDB

The TSQLConnection instance on which to execute SQL Statements.

Declaration

pascal
property Database:;

Description

Database is the SQL connection (of type TSQLConnection) on which SQL statements will be executed, and from which result sets will be retrieved. This property must be set before any form of SQL command can be executed, just like the Transaction property must be set.

Multiple TSQLQuery instances can be connected to a database at the same time.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.