2006年8月23日
摘要: 游标按以下操作进行parse 解析bind 绑定open 打开execute 执行fetch 回取close 关闭1.写自己第一个游标PL/SQLdeclarecursor c_s is select * from user_tables;beginopen c_s; --打开游标close c_s;--关闭游标end;游标的4个属性 %found,%notfound,%rowcount,%isopen1.%found游标有记录则返回true否则falsedeclarecursor c_s is select * from user_tables;cc c_s%rowtype;beginope 阅读全文
posted @ 2006-08-23 23:19 springside例子 阅读(123) 评论(0) 推荐(0) 编辑