Sign in Join
FPDoc Onlineexperiment

TStatementType enumeration

In unit SQLTypes

Type describing the kind of SQL statement.

Declaration

pascal
TStatementType = (stUnknown,stSelect,stInsert,stUpdate,stDelete,stDDL,
 stGetSegment,stPutSegment,stExecProcedure,
 stStartTrans,stCommit,stRollback,stSelectForUpd)

Description

TStatementType describes the kind of SQL statement that was entered in the SQL property of a TSQLQuery component.

See also

Values

stUnknownThe statement type could not be detected.
stSelectThe statement is a SQL SELECT statement.
stInsertThe statement is a SQL INSERT statement.
stUpdateThe statement is a SQL UPDATE statement.
stDeleteThe statement is a SQL DELETE statement.
stDDLThe statement is a SQL DDL (Data Definition Language) statement.
stGetSegmentThe statement is a SQL get segment statement.
stPutSegmentThe statement is a SQL put segment statement.
stExecProcedureThe statement executes a stored procedure.
stStartTransThe statement starts a transaction.
stCommitThe statement commits a transaction.
stRollbackThe statement rolls back a transaction.
stSelectForUpdThe statement selects data for update.

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