FireDAC.Phys.ADS.TFDPhysADSDriverLink.Exact

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Exact: Boolean read GetExact write SetExact stored IsExS;

C++

__property bool Exact = {read=GetExact, write=SetExact, stored=IsExS, nodefault};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.ADS.pas
FireDAC.Phys.ADS.hpp
FireDAC.Phys.ADS TFDPhysADSDriverLink

Description

Specifies the default string comparison mode.

Use the Exact property to specify how string comparisons are performed with the relational operators =, >, <, >=, and <=. The exact equal operator (==) is not affected by this setting.

In general, if the Exact setting is True, trailing spaces are ignored during the comparison.

The Exact setting is not that simple, however. It is somewhat complex and affects the various relational operators differently. You can see Expression Engine Operators for detailed information on how the Exact setting affects relational operators.

Exact affects string comparisons for all currently opened tables and all the tables opened in the future for all connections. Changing the set exact setting via Exact also affects all the string comparisons in the index expressions.

The default value is False.

See Also