FireDAC.Stan.Option.TFDResourceOptions.DirectExecute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DirectExecute: Boolean read GetDirectExecute

C++

__property bool DirectExecute = {read=GetDirectExecute, write=SetDirectExecute, stored=IsDES, default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDResourceOptions

Description

Controls the preparation of SQL statements.

Use the DirectExecute property to specify whether FireDAC should prepare an SQL statement before its execution (False) or execute it directly (True). The default value is False

This property was introduced at first for MS SQL Server support. The prepared and the direct execution may have different effects, and even the prepared execution may fail. If you will get peculiar errors, then try to set DirectExecute to True.

See Also