Skip to content

TSQLStatement.ParamCheck

Should SQL be checked for parameters.

Declaration

Source position: sqldb.pp line 452

published property ParamCheck;

Description

ParamCheck must be set to False to disable the parameter check. The default value True indicates that the SQL statement should be checked for parameter names (in the form :ParamName), and corresponding TParam instances should be added to the Params property.

When executing some DDL statements, e.g. a "create procedure" SQL statement can contain parameters. These parameters should not be converted to TParam instances.

See also

Name Description
TParam Parameter description class.
TSQLStatement.Params List of parameters.
TSQLQuery.ParamCheck Should the SQL statement be checked for parameters.