3.81.10. PostSendQueryParam Previous topic Parent topic Child topic Next topic

This optional string array enables the use of SQL bind variables with PostSendQuery. Set PostSendQuery using the SQL bind variables or without them. If you use the SQL bind variables, you must specify all query parameters with respective PostSendQueryParams. Here is an example of using the SQL bind variables:
PostSendQuery INSERT INTO posts (roomNumber, guestNumber, macAddress, postNumber, 
      posted, cost) VALUES (?, ?, ?, ?, ?, ?)
PostSendQueryParam %0
PostSendQueryParam %1
PostSendQueryParam %2
PostSendQueryParam %3
PostSendQueryParam %4
PostSendQueryParam %5
The same query without the SQL bind variables looks this:
PostSendQuery INSERT INTO posts (roomNumber, guestNumber, macAddress, postNumber, 
      posted, cost) VALUES (%0, %1, %2, %3, %4, %5)
For more information about SQL bind variables, see Section 3.8.1. SQL bind variables.