Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.4.2
-
None
Description
Bind a string value to a SQL query and execute this via ODBC.
SQL:
SELECT * FROM T_Strassenverzeichnis WHERE ST_Strasse LIKE :name
C++:
query.bindValue(":name", "A%");
Expected to see:
The query should return all street beginning with A.
Got instead:
Nothing. The query would executed but the bind value is invalid. Only strange characters are bound to the bind value.