IBX.IBSQL.TIBSQL.ParamCheck

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParamCheck: Boolean read FParamCheck write FParamCheck default true;

C++

__property bool ParamCheck = {read=FParamCheck, write=FParamCheck, default=1};

Properties

Type Visibility Source Unit Parent
property published
IBX.IBSQL.pas
IBX.IBSQL.hpp
IBX.IBSQL TIBSQL

Description

Specifies whether the parameter list for an SQL query is regenerated if the SQL property changes at runtime.

This property is useful for data definition language (DDL) statements that contain parameters as part of the DDL statement and that are not parameters for the TIBSQL query. For example, the DDL statement to create a stored procedure may contain parameter statements that are part of the stored procedure. Set ParamCheck to false to prevent these parameters from being mistaken for parameters of the TIBSQL query executing the DDL statement.

An application that does not use parameterized queries may choose to set ParamCheck to false, but otherwise ParamCheck should be true.