日期:2014-05-16 浏览次数:20383 次
CREATE PROCEDURE PROC_HELLO_WORLD (OUT OUTARG VARCHAR(25), IN INARG VARCHAR(25)) LANGUAGE SQL BEGIN SET OUTARG = 'Hello ' || INARG; END
db2 "call PROC_HELLO_WORLD(?,'Mark')" | head -5| tail -1 | awk -F: '{print $2}'