FireDAC.Comp.Script.TFDScriptOptions.EchoCommands

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EchoCommands: TFDScriptEchoCommands read FEchoCommands write FEchoCommands default ecSQL;

C++

__property TFDScriptEchoCommands EchoCommands = {read=FEchoCommands, write=FEchoCommands, default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
FireDAC.Comp.Script TFDScriptOptions

Description

Specifies what parts of an SQL script must be echoed to console.

Set EchoCommands to one of the values, to enable the SQL script commands echo output to a script console:

Value 

Description 

ecNone

No commands are output. 

ecSQL

Only SQL and PL/SQL commands are output. 

ecAll

SQL, PL/SQL and the script control commands are output. 

The default value is ecSQL. The output to the console is performed only when ConsoleOutput is True. When a command text is greater than EchoCommandTrim, the command is trimmed to the value specified by the property EchoCommandTrim

The property can be set from a script using the SET ECHO OFF | ON [SQL|ALL] [TRIM <size>] command.

See Also