笨笨乐园

2006年8月22日

使用ROWNUM实现分页

摘要: 含义解释: 1、rownum是oracle系统顺序分配为从查询返回的行的编号,返回的第一行分配的是1,第二行是2,  依此类推,这个伪字段可以用于限制查询返回的总行数。2、rownum不能以任何基表的名称作为前缀。 使用方法: 现有一个商品销售表sale,表结构为:month    char(6)      --月份sell    number(10,2)   --月销售金额create tabl... 阅读全文

posted @ 2006-08-22 11:21 Angus 阅读(1421) 评论(0) 推荐(0) 编辑

ROWID and ROWNUM

摘要: ROWID: Before the release of Oracle8, ROWID datatype was used to store the physical address of each row of each table, as a hexadecimal number.You can use character host variables to store rowids in a... 阅读全文

posted @ 2006-08-22 11:10 Angus 阅读(278) 评论(0) 推荐(0) 编辑

导航