FireDAC.Comp.Script.TFDScriptOptions.EchoCommandTrim

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 EchoCommandTrim: Integer read FEchoCommandTrim write FEchoCommandTrim default 50;

C++

__property int EchoCommandTrim = {read=FEchoCommandTrim, write=FEchoCommandTrim, default=50};

Description

Controls the trimming of the command echo output.

Set EchoCommandTrim to an integer value that is the maximum text length of the output command. When the text length is greater than the specified value, the text is trimmed and '...' appended. When the value is <= 0, no trimming is performed. The default value is 0. EchoCommandTrim is used together with EchoCommands

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

See Also