问题描述:
String sql=" delete from rizhi where data="+data;为什么总是报错,data为varchar型.
错误提示: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 ' at line 1
错误提示: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 ' at line 1
问题解答:
我来补答展开全文阅读