Using Data-at-Execution Columns

    To handle data-at-execution text or image columns
  1. For each data-at-execution column:
  2. Calling SQLSetPos returns SQL_NEED_DATA, which indicates that data-at-execution columns are ready for processing.
  3. For each data-at-execution column:
    1. Call SQLParamData to get the program-defined column ID. It will return SQL_NEED_DATA if there is another data-at-execution column.
    2. Call SQLPutData one or more times to send the column data, until length is sent.
  4. Call SQLParamData to indicate that all the data for the final data-at-execution column has been sent. It will not return SQL_NEED_DATA.