AnyDAC
ContentsIndexHome
PreviousUpNext
TADResourceOptions.DirectExecute Property

Controls preparation of SQL statements.

Group
Links

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

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

property DirectExecute: Boolean;
What do you think about this topic? Send feedback!