Data.SqlExpr.TCustomSQLDataSet.NativeCommand

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NativeCommand: string read FNativeCommand write FNativeCommand;

C++

__property System::UnicodeString NativeCommand = {read=FNativeCommand, write=FNativeCommand};

Properties

Type Visibility Source Unit Parent
property protected
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Represents the SQL command that is sent to the server.

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.

See Also