FireDAC.Comp.Script.TFDScriptOptions.EchoCommands

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
Unit: FireDAC.Comp.Script
Parent: TFDScriptOptions

Delphi

property EchoCommands: TFDScriptEchoCommands read FEchoCommands write FEchoCommands default ecSQL;

C++

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

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