Table of Contents

ISQLPerformer.ExecuteQuery Method

Executes a SQL statement that returns a result set.

Syntax

Unit: Aurelius.Sql.Interfaces

function ISQLPerformer.ExecuteQuery(SQL: string; Params: TList<TDBParam>): IDBResultSet; virtual; abstract;

Parameters

<-> Parameter Type Description
SQL string The SQL statement to execute. Typically a SELECT, but may also be any statement that produces rows, such as a stored procedure call or a database-specific command (e.g., SQLite PRAGMA statements).
Params TList<TDBParam> The list of bound parameter values for the statement.

Returns

An IDBResultSet containing the rows returned by the statement.

See also