Help Center

CSQLiteStmt.Sqlmethod

Retrieve a saved copy of the original SQL text used to create a prepared statement if that statement was compiled using **Prepare**.

DatabasesmethodCSQLite.incdocumented

Syntax

FUNCTIOn Sql () AS STRING

Return value

The SQL string associated with a prepared statement.

Description

Retrieves a saved copy of the original SQL text used to create a prepared statement if that statement was compiled using Prepare.

Reference

  • Include file CSQLite.inc
  • Defined in AfxNova/CSQLite3.inc:1708
  • Documented in Databases/CSQLite Class.md
  • Topic: CSQLite Class