ORA-01036: illegal variable name/number when running query through C#

前端 未结 10 1691
执念已碎
执念已碎 2020-12-06 17:20

I am trying to use ALTER USER query for Oracle database using OracleCommand in C# in the following code. It creates the query if the values for Username and pas

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-06 18:09

    I have faced same problem ... For the problem is like this, I am calling the PRC inside cpp program and my PRC taking 4 arguments but while calling I used only 1 arguments so this error came for me.

    Begin Example_PRC(:1); End; // this cause the problem 
    Begin Example_PRC(:1,:2,:3,:4); End; // this is the solution
    

提交回复
热议问题