PB调存储过程
CREATE OR REPLACE PROCEDURE PRC_TEST_YL(pathpart_id in int,str_sql out string)
IS
BEGIN
str_sql:='syxh'||to_char(pathpart_id);
END PRC_TEST_YL;
我建立了这样一个存储过程.
我在PB中这样写:
...
Declare getsql procedure for PRC_TEST_YL :iSubPath_id,:str_sql OUTPUT;
EXECUTE getsql;
fetch getsql into :str_sql;
close getsql;
mle_sql.text=str_sql;
...
但是得不到值,这是为什么?