SQL statement execution

The differences in the execution of SQL statements in a C UDR and a client LIBMI application are because of the differences in passing mechanisms that they use for the contents of an MI_DATUM structure. In a C UDR, you must consider the data type of the value in the MI_DATUM structure to determine how to obtain the value.

For more information about the passing mechanism for an MI_DATUM value, see Contents of an MI_DATUM structure.

In SQL statement execution, the DataBlade API uses an MI_DATUM structure for the following values:
  • Input-parameter value that the DataBlade API sends to a prepared statement
  • Column value that the DataBlade API retrieves from a query