In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Oracle data block missing row number how to do, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Environment 1:
SCOTT@proc > drop table tt purge
Table dropped.
SCOTT@proc >
SCOTT@proc >
SCOTT@proc > create table tt (id int,name varchar2 (2000)) tablespace users
Table created.
SCOTT@proc > insert into tt values (1 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (2 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (3 Personnal RPad)
1 row created.
SCOTT@proc > insert into tt values (4 Magi RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8LAAEAAAAImAAA 4 550 0
2 b AAAV8LAAEAAAAImAAB 4 550 1
3 c AAAV8LAAEAAAAImAAC 4 550 2
4 d AAAV8LAAEAAAAImAAD 4 550 3
SCOTT@proc > delete from tt where id=2
1 row deleted.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > insert into tt values (5 Magi RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8LAAEAAAAImAAA 4 550 0
5 e AAAV8LAAEAAAAImAAB 4 550 1
3 c AAAV8LAAEAAAAImAAC 4 550 2
4 d AAAV8LAAEAAAAImAAD 4 550 3
Environment 2:
SCOTT@proc > drop table tt purge
Table dropped.
SCOTT@proc > create table tt (id int,name varchar2 (2000)) tablespace users
Table created.
SCOTT@proc > insert into tt values (1 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (2 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (3 Personnal RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8VAAEAAAAIkAAA 4 548 0
2 b AAAV8VAAEAAAAIkAAB 4 548 1
3 c AAAV8VAAEAAAAIkAAC 4 548 2
SCOTT@proc > delete from tt where id=2
1 row deleted.
SCOTT@proc > insert into tt values (4 Magi RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > insert into tt values (5 Magi RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8VAAEAAAAIkAAA 4 548 0
3 c AAAV8VAAEAAAAIkAAC 4 548 2
4 d AAAV8VAAEAAAAIkAAD 4 548 3
5 e AAAV8VAAEAAAAIkAAE 4 548 4
SCOTT@proc >
Environment 3:
SCOTT@proc > drop table tt purge
Table dropped.
SCOTT@proc > create table tt (id int,name varchar2 (2000)) tablespace users
Table created.
SCOTT@proc > insert into tt values (1 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (2 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (3 Personnal RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8MAAEAAAAImAAA 4 550 0
2 b AAAV8MAAEAAAAImAAB 4 550 1
3 c AAAV8MAAEAAAAImAAC 4 550 2
SCOTT@proc > delete from tt where id=2
1 row deleted.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > insert into tt values (4 Magi RPad)
1 row created.
SCOTT@proc > insert into tt values (5 Magi RPad)
1 row created.
SCOTT@proc > commit
Commit complete.
SCOTT@proc > select id,substr (name,1,1), rowid,dbms_rowid.rowid_relative_fno (rowid) file#,dbms_rowid.rowid_block_number (rowid) block#,dbms_rowid.rowid_row_number (rowid) row# from tt
ID SU ROWID FILE# BLOCK# ROW#
1 an AAAV8MAAEAAAAImAAA 4 550 0
5 e AAAV8MAAEAAAAImAAB 4 550 1
3 c AAAV8MAAEAAAAImAAC 4 550 2
4 d AAAV8MAAEAAAAImAAD 4 550 3
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





 
             
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.