Sign in Join
FPDoc Onlineexperiment

TPSCommandType enumeration

In unit DB

Type of SQL command.

Declaration

pascal
TPSCommandType = (ctUnknown,ctQuery,ctTable,ctStoredProc,ctSelect,
 ctInsert,ctUpdate,ctDelete,ctDDL)

Description

TPSCommandType is used in the PSGetCommandType call to determine the type of SQL command that the provider is exposing. It is meaningless for datasets that are not SQL based.

Values

ctUnknownUnknown SQL type or not SQL based.
ctQueryGeneral SQL statement.
ctTableTable contents (select * from table).
ctStoredProcStored procedure statement.
ctSelectSQL SELECT Statement.
ctInsertSQL INSERT Statement.
ctUpdateSQL UPDATE statement.
ctDeleteSQL DELETE Statement.
ctDDLSQL DDL statement.

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