ORA-01036: 非法的变量名/编号
问题出在SQL语句中参数定义不对。SQL server中用“@”定义参数,而Oracle中用“:”
把如select * from test where id=@id改成select * from test where id=:id 便可
问题出在SQL语句中参数定义不对。SQL server中用“@”定义参数,而Oracle中用“:”
把如select * from test where id=@id改成select * from test where id=:id 便可