Host variable <str> is an unsigned variable which is illegal is SQL statements. Explanation: The named variable is defined as an C unsigned variable. Unsigned variables are illegal in SQL statements. User Action: Use a signed version of this variable in the SQL statement.