SimpleDS.TInternalSQLDataSet.CommandType
Delphi
property CommandType;
C++
__property CommandType = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | SimpleDS.pas SimpleDS.hpp |
SimpleDS | TInternalSQLDataSet |
Description
Indicates the meaning of the CommandText property.
SimpleDS.TInternalSQLDataSet.CommandType inherits from Data.SqlExpr.TCustomSQLDataSet.CommandType. All content below this line refers to Data.SqlExpr.TCustomSQLDataSet.CommandType.
Indicates the meaning of the CommandText property.
CommandType indicates the type of command that is contained in the CommandText property. TCustomSQLDataSet descendants set this value to the way in which they specify a query or stored procedure.
The following table lists the possible values:
CommandType | Corresponding CommandText |
---|---|
ctQuery |
An SQL statement that the dataset executes. |
ctStoredProc |
The name of a stored procedure. |
ctTable |
The name of a table on the database server. The SQL dataset automatically generates a SELECT statement to fetch all the records on all the fields in this table. |