根据rowid回表

select rowid from T_PM_DEPOSIT_HIS partition(DEPOSIT_HIS_20120104) ;

SQL> set linesize 200
SQL> set pagesize 200
SQL> set autot trace ----该条数据取自partition(DEPOSIT_HIS_20120104) 分区
SQL> select * from T_PM_DEPOSIT_HIS where rowid='AAAqFKAAYAABTzUAAB'; Execution Plan
----------------------------------------------------------
Plan hash value: 1146909301 ---------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
---------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 183 | 1 (0)| 00:00:01 | | |
| 1 | TABLE ACCESS BY USER ROWID| T_PM_DEPOSIT_HIS | 1 | 183 | 1 (0)| 00:00:01 | ROWID | ROWID |
--------------------------------------------------------------------------------------------------------------- Statistics
----------------------------------------------------------
5 recursive calls
0 db block gets
3 consistent gets
0 physical reads
0 redo size
2236 bytes sent via SQL*Net to client
524 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
上一篇:短视频 SDK 功能点技术实现方式详解


下一篇:js json和字符串的互转