2007-11-08
调用数据库函数
sql 代码
- set serveroutput on
- declare
- v_content_id number; --内容id,在content表中一定存在
- v_PROCCODE NUMBER; -- 返回的错误代码, 如果函数返回值代表有错误时,该参数有效,并需写入日志
- v_PROCERRM VARCHAR2(1024); -- 返回的错误信息,如果函数返回值代表有错误时,该参数有效,并需写入日志
- begin
- v_content_id := 226;
- v_PROCCODE := CT_PUB_DB_PROCESS(v_content_id,v_PROCCODE,v_PROCERRM);
- dbms_output.put_line('1'||v_PROCCODE);
- dbms_output.put_line('2'||v_PROCERRM);
- end;
- /
发表评论
我的相册
2006国米全家福
共 3 张
共 3 张
最近加入圈子
最新评论
-
cxf+spring+struts2的hell ...
Cxf2.08+spring2+struts2下可以跑通。
-- by lycmlove -
cxf+spring+struts2的hell ...
最后在浏览器里运行:http://localhost:8080/HelloWor ...
-- by samwalt -
cxf+spring+struts2的hell ...
hanqiaorui 写道qianlei007 写道 &n ...
-- by samwalt -
cxf+spring+struts2的hell ...
qianlei007 写道 <impo ...
-- by hanqiaorui -
cxf+spring+struts2的hell ...
<import resource="classpath:META-INF/ ...
-- by qianlei007







评论排行榜