Previous Topic: How SQL Statements Pass Values to a TableNext Topic: How SQL Processes Null Values


How SQL Processes Host Variables

If you defined a column as character data, SQL copies the data verbatim from the host variable. Therefore, the data SQL inserts into the table exactly matches the characters in the variable.

If you defined a column as numeric data, SQL assumes that the variable is a single sequence of digits that may have a leading minus sign. SQL ignores leading and trailing blanks.

If you defined a column as a hexadecimal value, SQL responds as follows: