RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.NativeCommand Property

Represents the SQL command that is sent to the server.

Pascal
property NativeCommand: UnicodeString;
C++
__property UnicodeString NativeCommand;

SQL datasets sometimes need to alter a query before it can be sent to the dbExpress driver. For example, dbExpress does not support named parameters, so the SQL dataset converts named parameters to unnamed parameters before sending off a command. 

NativeCommand is the adjusted command that is sent to the dbExpress driver. It is based on the value of CommandText

 

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