Skip to content

TSQLQuery.ParamCheck

Should the SQL statement be checked for parameters.

Declaration

Source position: sqldb.pp line 744

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.
Params Parameters detected in the SQL statement.
ParamCheck Should the SQL statement be checked for parameters.