我使用 VB6 作为前端,使用 oracle10g 数据库作为后端。现在我在我的 vb 项目中尝试上面的代码:
Con.Open "Provider=MSDAORA.1;Password=pune;User ID=system;Data Source=localhost;Persist Security Info=True"
Rs.CursorLocation = adUseClient
Rs.Open "insert into PARTNER_REQURIMENTS values('" & email.Text & "','" & Val(a1.Text) & "','" & Val(h1.Text) & "','" & ms.Text & "','" & r1.Text & "','" & mt.Text & "','" & mg.Text & "','" & el.Text & "','" & ef.Text & "','" & ai.Text & "','" & c1.Text & "','" & dr1.Text & "','" & s1.Text & "','" & d1.Text & "')", Con, adOpenKeyset, adLockOptimistic
Con.Execute "commit"
...但我收到此错误:
run-time error'2147217900(80040e14)':
ORA-09917:missing comma
有人可以帮助我吗?