0
我在Oracle中編寫了一個插入一些值的簡單SQL查詢。java.sql.SQLSyntaxErrorException:ORA-00936:缺少表達式
但是我得到了SQLSyntaxErrorException
,指出「缺少表達式」錯誤。
這是我的查詢:
String addManager = "INSERT INTO property_manager(EIN,NAME,HOME_PHONENUMBER,MOBILE_PHONENUMBER,EMAIL,PROPERTY_CIN)" +
"VALUES (" + mein.getText() + "," + mname.getText() +","+ mHome_phonenumber.getText() +","+ MMobile_phonenumber.getText()+"," + memail.getText() + ","+mproperty_cin.getText()+")";
如何把我的價值觀內引號可以爲我寫?謝謝 – user3019128