0
請幫我解決下面的問題。隨着下面的代碼Java SQL例外命令沒有正確結束
if (con == null || con.isClosed()) con = DBBase.getNewConnection();
sb = con.createStatement();
resSet = sb.executeQuery("select * from USERSAGGRS where userid='" +user.getUserid()+ "' AND id='" +aggid+ "' ");
當負載jsp頁面中我得到這個錯誤:的user.getUserid()
和/或aggid
java.sql.SQLException: ORA-00933: SQL command not properly ended
顯示你的代碼的總節please.so爲以獲得您的計劃的展望 – Vijay