Supplying Inserted Values

The values in the inserted row can come from one of the following sources:
  • Constant values that are written into the INSERT statement
  • Program variables that are named in the INSERT statement
  • Program variables in the FROM clause of the PUT statement
  • Values that are prepared in memory addressed by an sqlda structure or a system-descriptor area and then specified in the USING clause of the PUT statement

The system descriptor area or sqlda structure that descriptor or sqlda_pointer references must define a data type and memory location of each value that corresponds to a question-mark ( ? ) placeholder in a prepared INSERT statement.