Oracle数据库
WillWong1991
这个作者很懒,什么都没留下…
展开
-
用动态sql执行oracle存储过程
1、调用procedure: v_sql := 'Begin pkg_name.procedure_name(:in_v1, :in_v2, :out_v1, :out_v2); End;' ; EXECUTE IMMEDIATE v_sql using in in_value1,in in_value2,out out_value1,out out_原创 2017-12-27 17:55:18 · 736 阅读 · 0 评论 -
Oracle 递归查询 start with connect by
SELECT * FROM (SELECT * FROM o_org WHERE org_name = ‘a’) a START WITH a.org_no = ‘b’ CONNECT BY PRIOR a.org_no = a.p_org_no;原创 2018-08-22 19:41:03 · 379 阅读 · 0 评论