FireDAC.Comp.Script.TFDScript.ValidateAll
Delphi
function ValidateAll(AParser: TFDScriptParser): Boolean; overload;
function ValidateAll: Boolean; overload;
C++
bool __fastcall ValidateAll(TFDScriptParser* AParser)/* overload */;
bool __fastcall ValidateAll()/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScript |
Description
Validates the SQL script.
Call the ValidateAll method to validate the SQL script.
The ValidateAll method does not execute SQL commands and does not execute many of the script control commands. This method checks the syntax of the next control command and executes it, if that is required to continue with the checking. Also, the ValidateAll method updates the indicator of the total job volume - TotalJobSize, which is required to show the correct work progress values.
It is good practice to call the ValidateAll method before the ExecuteAll method.