ORA-00933: SQL command not properly ended

后端 未结 11 947
遇见更好的自我
遇见更好的自我 2020-12-03 22:54

I\'m using OLEDB provider for ADO.Net connecting to an Oracle database. In my loop, I am doing an insert:

insert into ps_tl_compleave_tbl values(\'2626899\'         


        
11条回答
  •  长情又很酷
    2020-12-03 23:34

    The issue may be that you have a parameter variable that is null being inserted into the query. That was what my problem was. Once I gave the parameter a default value of empty string, it worked.

提交回复
热议问题