91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Oracle中數據塊中row number缺失該怎么辦

發布時間:2021-11-12 09:23:52 來源:億速云 閱讀:248 作者:柒染 欄目:關系型數據庫

Oracle中數據塊中row number缺失該怎么辦,很多新手對此不是很清楚,為了幫助大家解決這個難題,下面小編將為大家詳細講解,有這方面需求的人可以來學習下,希望你能有所收獲。

環境1:

  1. SCOTT@proc> drop table tt purge;


  2. Table dropped.


  3. SCOTT@proc>

  4. SCOTT@proc>

  5. SCOTT@proc> create table tt (id int,name varchar2(2000)) tablespace users;


  6. Table created.


  7. SCOTT@proc> insert into tt values(1,rpad('a',1800,'+'));


  8. 1 row created.


  9. SCOTT@proc> insert into tt values(2,rpad('b',1800,'+'));


  10. 1 row created.


  11. SCOTT@proc> insert into tt values(3,rpad('c',1800,'+'));


  12. 1 row created.


  13. SCOTT@proc> insert into tt values(4,rpad('d',1800,'+'));


  14. 1 row created.


  15. SCOTT@proc> commit;


  16. Commit complete.


  17. 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;


  18.         ID SU ROWID                   FILE#     BLOCK#       ROW#

  19. ---------- -- ------------------ ---------- ---------- ----------

  20.          1 a   AAAV8LAAEAAAAImAAA           4          550          0

  21.          2 b   AAAV8LAAEAAAAImAAB           4          550          1

  22.          3 c   AAAV8LAAEAAAAImAAC           4          550          2

  23.          4 d   AAAV8LAAEAAAAImAAD           4          550          3


  24. SCOTT@proc> delete from tt where id=2;


  25. 1 row deleted.


  26. SCOTT@proc> commit;


  27. Commit complete.


  28. SCOTT@proc> insert into tt values(5,rpad('e',1800,'+'));


  29. 1 row created.


  30. SCOTT@proc> commit;


  31. Commit complete.


  32. 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;


  33.         ID SU ROWID                   FILE#     BLOCK#       ROW#

  34. ---------- -- ------------------ ---------- ---------- ----------

  35.          1 a  AAAV8LAAEAAAAImAAA           4          550          0

  36.          5 e   AAAV8LAAEAAAAImAAB           4        550          1

  37.          3 c   AAAV8LAAEAAAAImAAC           4          550          2

  38.          4 d   AAAV8LAAEAAAAImAAD          4          550          3


環境2:

  1. SCOTT@proc> drop table tt purge;


  2. Table dropped.


  3. SCOTT@proc> create table tt (id int,name varchar2(2000)) tablespace users;


  4. Table created.


  5. SCOTT@proc> insert into tt values(1,rpad('a',1800,'+'));


  6. 1 row created.


  7. SCOTT@proc> insert into tt values(2,rpad('b',1800,'+'));


  8. 1 row created.


  9. SCOTT@proc> insert into tt values(3,rpad('c',1800,'+'));


  10. 1 row created.


  11. SCOTT@proc> commit;


  12. Commit complete.


  13. 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;


  14.         ID SU ROWID                   FILE#     BLOCK#       ROW#

  15. ---------- -- ------------------ ---------- ---------- ----------

  16.          1 a   AAAV8VAAEAAAAIkAAA           4          548          0

  17.          2 b   AAAV8VAAEAAAAIkAAB          4          548          1

  18.          3 c  AAAV8VAAEAAAAIkAAC          4          548          2


  19. SCOTT@proc> delete from tt where id=2;


  20. 1 row deleted.


  21. SCOTT@proc> insert into tt values(4,rpad('d',1800,'+'));


  22. 1 row created.


  23. SCOTT@proc> commit;


  24. Commit complete.


  25. SCOTT@proc> insert into tt values(5,rpad('e',1800,'+'));


  26. 1 row created.


  27. SCOTT@proc> commit;


  28. Commit complete.


  29. 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;


  30.         ID SU ROWID                   FILE#     BLOCK#       ROW#

  31. ---------- -- ------------------ ---------- ---------- ----------

  32.          1 a   AAAV8VAAEAAAAIkAAA          4          548          0

  33.          3 c  AAAV8VAAEAAAAIkAAC           4         548          2

  34.          4 d  AAAV8VAAEAAAAIkAAD           4          548          3

  35.          5 e  AAAV8VAAEAAAAIkAAE          4         548          4


  36. SCOTT@proc>


環境3:

  1. SCOTT@proc> drop table tt purge;


  2. Table dropped.


  3. SCOTT@proc> create table tt (id int,name varchar2(2000)) tablespace users;


  4. Table created.


  5. SCOTT@proc> insert into tt values(1,rpad('a',1800,'+'));


  6. 1 row created.


  7. SCOTT@proc> insert into tt values(2,rpad('b',1800,'+'));


  8. 1 row created.


  9. SCOTT@proc> insert into tt values(3,rpad('c',1800,'+'));


  10. 1 row created.


  11. SCOTT@proc> commit;


  12. Commit complete.


  13. 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;


  14.         ID SU ROWID                   FILE#     BLOCK#       ROW#

  15. ---------- -- ------------------ ---------- ---------- ----------

  16.          1 a  AAAV8MAAEAAAAImAAA          4          550          0

  17.          2 b  AAAV8MAAEAAAAImAAB          4         550          1

  18.          3 c   AAAV8MAAEAAAAImAAC          4          550          2


  19. SCOTT@proc> delete from tt where id=2;


  20. 1 row deleted.


  21. SCOTT@proc> commit;


  22. Commit complete.


  23. SCOTT@proc> insert into tt values(4,rpad('d',1800,'+'));


  24. 1 row created.


  25. SCOTT@proc> insert into tt values(5,rpad('e',1800,'+'));


  26. 1 row created.


  27. SCOTT@proc> commit;


  28. Commit complete.


  29. 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;


  30.         ID SU              ROWID      FILE#     BLOCK#       ROW#

  31. ---------- -- ------------------ ---------- ---------- ----------

  32.          1 a   AAAV8MAAEAAAAImAAA           4          550          0

  33.          5 e   AAAV8MAAEAAAAImAAB           4          550          1

  34.          3 c   AAAV8MAAEAAAAImAAC           4          550          2

  35.          4 d   AAAV8MAAEAAAAImAAD           4          550          3

看完上述內容是否對您有幫助呢?如果還想對相關知識有進一步的了解或閱讀更多相關文章,請關注億速云行業資訊頻道,感謝您對億速云的支持。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

建水县| 海兴县| 防城港市| 磐石市| 宜都市| 长宁区| 永顺县| 晋江市| 巴彦县| 兴山县| 永安市| 安义县| 乌兰浩特市| 阜新| 台北县| 邮箱| 靖宇县| 镇安县| 西乡县| 柳江县| 磴口县| 元阳县| 铁岭市| 曲麻莱县| 古丈县| 巍山| 岱山县| 山丹县| 武陟县| 陆川县| 色达县| 平陆县| 宝清县| 门头沟区| 内江市| 成武县| 朔州市| 石楼县| 壶关县| 闸北区| 城步|