偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

DB2數(shù)據(jù)庫Table與Tablespaces的命令的正確應(yīng)用

數(shù)據(jù)庫
以下的文章主要描述的是DB2數(shù)據(jù)庫Table與Tablespaces的命令,假如你對其有興趣的話你就可以點擊以下的文章進(jìn)行觀看了。

我們今天主要向大家描述的是DB2數(shù)據(jù)庫Table與Tablespaces的命令,如果你對DB2數(shù)據(jù)庫Table與Tablespaces的命令有興趣的話,你就可以對以下的文章點擊觀看了,以下就是具體方案的描述,希望在你今后的學(xué)習(xí)中會有所幫助。

 

1.查詢Table所屬Tablespaces的方法。

 

  1. db2 "select tbspaceid from syscat.tables where tabname='<Table_NAME>'"  
  2. Exp:  
  3. [db2inst1@localhost ~]$ db2 "select tbspaceid from syscat.tables where tabname='ACT'"  
  4. TBSPACEID  

1 記錄被選中

2.查詢Tablespaces里面所包括的所有Table的方法。

  1. db2 "select tabname from syscat.tables where tbspaceid=<Tablespaces_ID>"  
  2. Exp:  
  3. [db2inst1@localhost ~]$ db2 "select tabname from syscat.tables where tbspaceid=2"  
  4. TABNAME  
  5. CL_SCHED  
  6. PROJECT  
  7. DEPARTMENT  
  8. EMPLOYEE  
  9. EMP_PHOTO  
  10. EMP_RESUME  
  11. PROJACT  
  12. EMPPROJACT  
  13. ACT  
  14. IN_TRAY  
  15. ORG  
  16. STAFF  
  17. SALES  
  18. STAFFG  
  19. ADEFUSR  

 你選擇了一個記錄

3.查詢Tablespaces的Containers的方法。

 

  1. db2 list tablespace containers for <Tablespaces_ID> show detail  
  2. Exp:  
  3. [db2inst1@localhost ~]$ db2 list tablespace containers for 2 show detail  

以上的相關(guān)內(nèi)容就是對DB2數(shù)據(jù)庫Table和Tablespaces的命令的介紹,望你能有所收獲。

DB2數(shù)據(jù)庫Table和Tablespaces的命令

以上的相關(guān)內(nèi)容就是對DB2數(shù)據(jù)庫Table和Tablespaces的命令的介紹,望你能有所收獲。

【編輯推薦】

  1. DB2存儲過程編寫時要用到的代碼有哪些?
  2. DB2數(shù)據(jù)庫的備份是否成功,一看就知道!
  3. DB2實施備份時應(yīng)作的事項有哪些?
  4. IBM DB2 UDB 在線備份與恢復(fù)完美演習(xí)!
  5. 對DB2 Online備份方案的具體描述
責(zé)任編輯:佚名 來源: IT專家網(wǎng)
相關(guān)推薦

2010-08-16 10:10:27

DB2常用函數(shù)

2010-08-11 17:28:56

DB2 數(shù)據(jù)倉庫技術(shù)

2010-08-11 15:48:04

DB2編程

2010-08-11 15:48:04

DB2編程

2010-08-18 16:45:40

IBM DB2 Cat

2010-08-04 15:23:04

DB2用戶密碼

2010-08-13 10:29:35

DB2數(shù)據(jù)庫

2010-07-28 14:16:43

DB2驅(qū)動類型

2010-07-30 09:57:31

2010-08-26 16:00:31

DB2數(shù)據(jù)庫安裝

2010-08-19 09:37:41

DB2 V9.7 語句

2010-08-13 15:42:22

DB2數(shù)據(jù)庫分區(qū)

2010-08-11 08:39:57

DB2 數(shù)據(jù)庫

2010-08-20 13:33:50

DB2物化視圖

2010-08-11 17:24:13

DB2數(shù)據(jù)庫優(yōu)化

2010-06-10 17:19:05

MySQL數(shù)據(jù)庫

2010-09-06 08:29:18

連接DB2數(shù)據(jù)庫

2010-08-18 17:32:34

DB2數(shù)據(jù)庫

2010-07-27 15:33:00

DB2數(shù)據(jù)庫備份

2010-08-03 14:40:05

DB2數(shù)據(jù)庫
點贊
收藏

51CTO技術(shù)棧公眾號