SQLNumParams returns the number of parameters in an SQL statement.
The following table describes the SQLSTATE and error values for SQLNumParams.
| SQLSTATE | Error Value | Error Message |
|---|---|---|
| 01000 | -11001 | General warning |
| S1000 | -11060 | General error |
| S1001 | -11061 | Memory-allocation failure |
| S1008 | -11065 | Operation canceled |
| S1010 | -11067 | Function-sequence error |
| S1T00 | -11094 | Time-out expired |