| Oracle 存储过程返回结果集 |
| it.no1edu.net 佚名 不详 2006-12-15【字体:小 大】 |
|
|
bsp; rc myrctype; --定义ref cursor变量 sqlstr varchar2(500); begin if intID=0 then --静态测试,直接用select语句直接返回结果 open rc for select id,name,sex,address,postcode,birthday from student; else --动态sql赋值,用:w_id来申明该变量从外部获得 sqlstr := 'select id,name,sex,address,postcode,birthday from student where id=:w_id'; --动态测试,用sqlstr字符串返回结果,用using关键词传递参数 open rc for sqlstr using intid; end if; return rc; end get; end pkg_test;
网络基础:解决方案
布线
网吧
掉线
共享上网
双绞线
光纤接入
共享
交换机配置
千兆交换机
网络知识
网络命令
网络基础
上一页 [1] [2]
|
文章录入:anycall 责任编辑:anycall |
|
上一篇文章: Oracle 9.2.0.1在hpux下的安装过程
下一篇文章: Oracle 连接常见错误及解决方法
|
 |
赞助商链接 |
|