以下是一段摘自ORACLE文档的内容:
DBMS_ROWID
The DBMS_ROWID package lets you create ROWIDs and get information about ROWIDs from PL/SQL programs and SQL statements. You can find the data block number, the object number, and other components of the ROWID without having to write code to interpret the base-64 character external ROWID.
本人大概翻译了一下,也不知道对不对:
DBMS_ROWID包(包含)可以让你通过PL/SQL程序和SQL语句来创建ROWIDs,取得ROWIDs有关信息(的函数,功能).(这些函数)使你可以找出包含在ROWID中的数据块编号,对象编号和其他组成部分,而不用(你)编写代码来解析基于BASE-64编码的外部ROWID. 从这段话来看好象ROWID是BASE-64编码来的,不知是不是这么回事.
请高手指点.
DBMS_ROWID
The DBMS_ROWID package lets you create ROWIDs and get information about ROWIDs from PL/SQL programs and SQL statements. You can find the data block number, the object number, and other components of the ROWID without having to write code to interpret the base-64 character external ROWID.
本人大概翻译了一下,也不知道对不对:
DBMS_ROWID包(包含)可以让你通过PL/SQL程序和SQL语句来创建ROWIDs,取得ROWIDs有关信息(的函数,功能).(这些函数)使你可以找出包含在ROWID中的数据块编号,对象编号和其他组成部分,而不用(你)编写代码来解析基于BASE-64编码的外部ROWID. 从这段话来看好象ROWID是BASE-64编码来的,不知是不是这么回事.
请高手指点.
0 A 17 R 34 i 51 z
1 B 18 S 35 j 52 0
2 C 19 T 36 k 53 1
3 D 20 U 37 l 54 2
4 E 21 V 38 m 55 3
5 F 22 W 39 n 56 4
6 G 23 X 40 o 57 5
7 H 24 Y 41 p 58 6
8 I 25 Z 42 q 59 7
9 J 26 a 43 r 60 8
10 K 27 b 44 s 61 9
11 L 28 c 45 t 62 +
12 M 29 d 46 u 63 /
13 N 30 e 47 v (pad) =
14 O 31 f 48 w
15 P 32 g 49 x
16 Q 33 h 50 y
不知道ORACLE是不是按这个表做的BASE-64.