You mean SQL commands?
SELECT * FROM MyTable WHERE Col LIKE ?
Hi aeric!
Thanks for reply!
This is not working for me:
SELECT *' from vendedores WHERE VenActivo=true AND (VenNoVisibleCajas LIKE ? ) ORDER BY VenCodigo ASC
Error:
<tr><th>MESSAGE:</th><td>java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIKE '0' ORDER BY VenCodigo ASC' at line 1</td></tr>
Commands like this are not working in JRDC2
SELECT * FROM MyTable WHERE INSTR(VenNoVisibleCajas ,?)
In HeidySQL and MySQL works perfectly changing parameter (?)
Example:
SELECT * FROM MyTable WHERE INSTR(VenNoVisibleCajas ,'0')
works like a charm in HeidySQL
Thanks in advance again and forgive me for my poor english!