高手快来:跪求帮忙看下--回放oracle存储过程的问题
我录制了一段oracle存储过程的脚本 如下:Action()
{
lr_think_time(20);
lrd_ora8_handle_alloc(OraEnv1, STMT, &OraStm7, 0);
lrd_ora8_stmt(OraStm7, "BEGIN sp_order_user_authentication('2','13426280956',null,'0101001',"
"'8000069',null,'0101',null,null,null,null,:o_result,"
":o_result_billing,:o_result_desc,:o_ref_returninfo); END;\n", 1, 32, 0);
lrd_assign(&P1D10, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd5, "1", &P1D10,
LRD_BIND_BY_POS, 0, 0);
lrd_assign(&P2D11, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd4, "2", &P2D11,
LRD_BIND_BY_POS, 0, 0);
lrd_assign(&P3D12, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd3, "3", &P3D12,
LRD_BIND_BY_POS, 0, 0);
lrd_ora8_attr_set(OraBnd3, CHARSET_FORM, "1", -1, 0);
lrd_assign(&P4D13, 0, 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm7, &OraBnd2, "4", &P4D13,
LRD_BIND_BY_POS, 0, 0);
lrd_ora8_attr_set(OraBnd2, CHARSET_FORM, "1", -1, 0);
lrd_ora8_exec(OraSvc1, OraStm7, 1, 0, &uliRowsProcessed, 0, 0, 0, 0,
0);
GRID0(8);
return 0;
}
问题:录制的存储过程的返回值是从GRID0(8)表格中看到为2001020。然后改变条件回放后,预期的结果应该为1001003,但是在GRID0(8)表格中看到的永远是2001020,与录制的值一样?为什么呀? 晕,怎么这么多的表情符号? 都没有人关心的么?哎,现在都是看帖,没人回帖呀 没玩过这个协议,估计大多数看的都是这样。。我就冒个泡帮大家解释一下吧 楼主你这段能回放成功吗?我录了个oracle协议的都回放不成功,错误如下
lrdo_ora8_bind_placeholder:"OCIBindByName" return-code=OCI_ERROR,error-code=01036
页:
[1]