I am using dbutils QueryRunner on a product table to get (ID, Name) from the table where the query is as follows:
select ID, NAME
from PRODUCT
where NAME LIKE ?
LIMIT 5;
I am getting
ERROR 203 (22005): Type mismatch. BOOLEAN for null Query
while if i run the same query with NAME = ?
, it works fine.
Can you please let me know what is wrong with the syntax and also how can i use the escape sequence for e.g
WHERE NAME LIKE 'XYZ%'