插入查询显示语法错误

时间:2016-05-08 18:47:59

标签: sql

sql = "insert into Attendance (Student ID, Department, Semester) 
        values (" & lblsid.Caption & ",'" & cmbsrdept.Text & "'," & cmbsrsem.Text & ")"


db.Execute (sql)

为什么这会在insert into statement

中显示语法错误

0 个答案:

没有答案