Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

SQLSetParamInt() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The SQLSetParamInt() function sets the value of a parameter to a 16-bit signed integer.

Category

SQL

Syntax

SQLSetParamInt(StatementID, ParameterNumber, Value);

Arguments

StatementID

Integer value that identifies a SQL statement within a query.

ParameterNumber

Integer value that identifies the parameter in the SQL statement identified by the StatementID argument.

Value

16-bit, signed, integer to assign as the value of the specified parameter.

Example

This example sets the second parameter of the third SQL statement to -5.

SQLSetParamInt(3, 2, -5);

See Also

SQLPrepareStatement()

In This Topic
TitleResults for “How to create a CRG?”Also Available in