RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TSQLCommandType Type

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

Pascal
TSQLCommandType = ctQuery..ctServerMethod;
C++
ctQuery..ctServerMethod TSQLCommandType;

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!