EPUB | CHM | PDF

TPSQLQuery.Properties.Text

Top Previous Next

Points to the actual text of the SQL query passed to PostgreSQL.

Syntax:

property Text: PChar;

Description:

Text is a read-only property that can be examined to determine the actual contents of SQL statement passed to PostgreSQL. For parameterized queries, Text contains the SQL statement with parameters replaced by the parameter substitution symbol in place of actual parameter values.

In general there should be no need to examine the Text property. To access or change the SQL statement for the query, use the SQL property. To examine or modify parameters, use the Params property.