future2012lg

博客园 首页 新随笔 联系 订阅 管理

2012年12月12日 #

摘要: 转载http://blog.sina.com.cn/s/blog_55844be4010008pb.html基本用法:cursor c1 is select * from tablename where name is null for update [of column]……for r1 in c1 loop update tablename set column = …… --已限制了条件了,更新只是当前记录集 where current of c1;end loop;where current of 子句只能在定义游标的时候使用了for update语句才可以使用。 上面的语句中r1.. 阅读全文
posted @ 2012-12-12 15:03 future2012lg 阅读(284) 评论(0) 推荐(0)

摘要: 转载http://hi.baidu.com/ipvsadm/item/e57a9c0fc900ea8b03ce1bed#713670-baidu-1-86966-a19db458d50b3e9d45067067b6ce7d52List的用法List包括List接口以及List接口的所有实现类。因为List接口实现了Collection接口,所以List接口拥有Collection接口提供的所有常用方法,又因为List是列表类型,所以List接口还提供了一些适合于自身的常用方法,如表1所示。表1 List接口定义的常用方法及功能从表1可以看出,List接口提供的适合于自身的常用方法均与索引有关, 阅读全文
posted @ 2012-12-12 15:03 future2012lg 阅读(325) 评论(0) 推荐(0)