Status of this Function since DB2 CLI Version 5
Note: |
In ODBC version 3, SQLSetParam() has been deprecated and replaced with SQLBindParameter(); see SQLBindParameter - Bind A Parameter Marker to a Buffer or LOB Locator for more information. Although this version of DB2 CLI continues to support SQLSetParam(), we recommend that you begin using SQLBindParameter() in your DB2 CLI programs so that they conform to the latest standards. See DB2 CLI Functions Deprecated for Version 5 for more information on this and other deprecated functions. |
Equivalent Function: SQLBindParam()
The CLI function SQLBindParam() is exactly the same as the function SQLSetParam(). Both take the same number and type of arguments, behave the same, and return the same return codes.