3.81.12. PostAnswerQueryParam Previous topic Parent topic Child topic Next topic

This optional string array enables the use of SQL bind variables with PostAnswerQuery. Set PostAnswerQuery using the SQL bind variables or without them. If you use the SQL bind variables, you must specify all query parameters with respective PostAnswerQueryParams. Here is an example of using the SQL bind variables:
PostAnswerQuery INSERT INTO postacks (roomNumber, postNumber, transactionNumber, received) 
      values (?, ?, ?, ?)
PostAnswerQueryParam %0
PostAnswerQueryParam %1
PostAnswerQueryParam %2
PostAnswerQueryParam %3
The same query without the SQL bind variables looks this:
PostAnswerQuery INSERT INTO postacks (roomNumber, postNumber, transactionNumber, received) 
      values (%0, %1, %2, %3)
For more information about SQL bind variables, see Section 3.8.1. SQL bind variables.