Skip to content

TSQLStatementInfo

Declaration

Source position: sqltypes.pp line 47

type
  TSQLStatementInfo = record
    StatementType: TStatementType = (stUnknown,stSelect,stInsert,stUpdate,stDelete,stDDL,
                  stGetSegment,stPutSegment,stExecProcedure,
                  stStartTrans,stCommit,stRollback,stSelectForUpd);
    TableName: string;
    Updateable: Boolean;
    WhereStartPos: Integer;
    WhereStopPos: Integer;
    DDLAction: TDDLAction = (daNone,daCreate,daAlter,daDrop,daRecreate,daOther);
    DDLObject: TDDLObject = (doNone,doTable,doView,doIndex,doSequence,doProcedure,
              doFunction,doTrigger,doSchema,doDatabase,doDomain,doUser,
              doRole,doOther);
    DDLObjectName: string;
    DDLKeywords: string;
  end;