SQL_BindParamInt Function

Binds a parameter in a prepared statement to a given integer value.

void SQL_BindParamInt(Handle statement, int param, int number, bool signed)


Handle statement

A statement (prepared query) Handle.

int param

The parameter index (starting from 0).

int number

The number to bind.

bool signed

True to bind the number as signed, false to bind it as unsigned.


Invalid statement Handle or parameter index, or SQL error.