鱼C论坛

 找回密码
 立即注册
查看: 2707|回复: 0

[Oracle] BBED examine命令

[复制链接]
发表于 2013-9-9 08:37:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
BBED> set dba 1,33129

        DBA             0x00408169 (4227433 1,33129)

BBED> p *kdbr[0]
rowdata[6]
----------
ub1 rowdata[6]                              @8182     0x2c

BBED> x /rn
rowdata[6]                                  @8182   
----------
flag@8182: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8183: 0x01
cols@8184:    1

col    0[2] @8185: 1

/r Oracle table/index row
/c Character
/n Oracle Number

Forexample if we wanted to interpret data as an Oracle table row with the firstcolumn character and the second and third columns numeric, we would execute thecommand as follows:
BBED>x /rcnn

--------------------------------------------------------------------
BBED> p kdbhnrow
sb2 kdbhnrow                                @94       2
这个block上总共有2 个rows

BBED> p *kdbr[1]
rowdata[0]
----------
ub1 rowdata[0]                              @8176     0x2c
用print 将位置指向最后一个row。

BBED> x /2rn
rowdata[0]                                  @8176   
----------
flag@8176: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8177: 0x01
cols@8178:    1

col    0[2] @8179: 2

rowdata[6]                                  @8182   
----------
flag@8182: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@8183: 0x01
cols@8184:    1

col    0[2] @8185: 1
examine 显示2次。

Oracle使用block 是从底向上的。 假如当前current row 是3,repeat 2次,那么row 3 和row 2 将被显示。

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-7-3 22:39

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表