A parameter marker, denoted by a question mark (?), is a place holder in an SQL statement whose value is obtained during statement execution. An application uses SQLBindParameter() to associate bind parameter markers to application variables. During the execution of the SQLExecute() and SQLExecDirect() CLI functions, the values of these variables replace each respective parameter marker. Data conversion might take place during the process. See Tabelle 86 for more information on the supported data type conversions.
DB2 Everyplace supports only untyped parameter markers, which can be used
in selected locations of an SQL statement. Tabelle 19 lists the restrictions on parameter marker usage.
Tabelle 19. Restrictions on parameter marker usage
Zugehörige Referenzen