Data.DB.TSQLCommandType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TSQLCommandType = ctQuery..ctServerMethod;

C++

typedef TPSCommandType TSQLCommandType;

Properties

Type Visibility Source Unit Parent
enum
typedef
public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TSQLCommandType indicates how an SQL dataset specifies the command it executes.

TSQLCommandType describes the way you indicate the query or stored procedure that a dbExpress dataset represents. The following table lists the possible values:



Value Represent the query or stored procedure as

ctQuery

An SQL statement to execute.

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.

ctStoredProc

The name of a stored procedure.