摘要:
--分页select * from(select t1.ename ,rownum rn from (select * from emp) t1 where rownum<=10) where rn>=6;--开发一个包create or replace package tespackage astype test_cursor is ref cursor;end tespackage... 阅读全文
posted @ 2010-07-12 11:03
你妹的sb
阅读(230)
评论(0)
推荐(0)
摘要:
直接调用Oracle中的存储过程完成对表的分页,对代码封闭程度高,执行高效.以下为C#分页类代码,包括Oracle数据库端存储过程PLSQL代码.// 程序调用示例:// int totalrows = 0; //总记录数//int totalpages = 0; //总页数// string tableName ="emp"; //Oracle表名// int pagesize =5; //每页... 阅读全文
posted @ 2010-07-12 11:02
你妹的sb
阅读(365)
评论(0)
推荐(0)

浙公网安备 33010602011771号