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

查看Oracle索引和視圖的方法

數(shù)據(jù)庫(kù) Oracle
索引和視圖都是Oracle數(shù)據(jù)庫(kù)的重要組成部分,下面就教您如何在Oracle數(shù)據(jù)庫(kù)中查看Oracle索引和視圖,如果您感興趣的話(huà),不妨一看。

如何查看Oracle索引是很多人提到的問(wèn)題,下面就為您介紹查看Oracle索引和視圖的方法,希望對(duì)您能有所幫助。

查看Oracle索引個(gè)數(shù)和類(lèi)別

  1. select * from user_indexes where table='表名' ; 

查看索引被索引的字段

  1. SQL>select * from user_ind_columns where index_name=upper('&index_name'); 

查看某表的約束條件

  1. SQL>select constraint_name, constraint_type,search_condition, r_constraint_name   
  2. from user_constraints where table_name = upper('&table_name');   
  3.  
  4. SQL>select c.constraint_name,c.constraint_type,cc.column_name   
  5. from user_constraints c,user_cons_columns cc   
  6. where c.owner = upper('&table_owner') and c.table_name = upper('&table_name')   
  7. and c.owner = cc.owner and c.constraint_name = cc.constraint_name   
  8. order by cc.position;  

查看視圖的名稱(chēng)

  1. SQL>select view_name from user_views; 

以上就是查看Oracle索引和視圖的方法介紹。

 

 

 

【編輯推薦】

創(chuàng)建Oracle索引的方法

C#連接Oracle數(shù)據(jù)庫(kù)查詢(xún)數(shù)據(jù)

使用oracle存儲(chǔ)過(guò)程分頁(yè)的實(shí)例

Oracle數(shù)據(jù)庫(kù)備份的三個(gè)常見(jiàn)誤區(qū)

oracle RMAN備份的優(yōu)化

 

責(zé)任編輯:段燃 來(lái)源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-10-26 16:33:54

創(chuàng)建Oracle索引

2010-04-09 10:52:30

Oracle數(shù)據(jù)對(duì)象

2009-04-07 10:45:43

Oracle視圖創(chuàng)建

2010-05-04 10:20:17

Oracle物化視圖

2010-10-29 13:34:09

Oracle日志

2010-05-10 18:30:31

Oracle多表創(chuàng)建

2010-11-16 11:17:41

Oracle表空間大小

2010-07-19 16:36:13

SQL Server視

2010-04-19 10:08:46

Oracle視圖

2010-11-16 10:21:25

Oracle創(chuàng)建表

2010-11-16 10:42:45

Oracle創(chuàng)建視圖

2010-10-28 14:18:01

oracle數(shù)據(jù)庫(kù)版本

2010-04-19 09:37:22

Oracle查詢(xún)語(yǔ)句

2010-04-19 11:21:39

Oracle視圖

2009-05-06 11:09:10

Oracle物化視圖數(shù)據(jù)庫(kù)

2010-04-19 10:20:19

Oracle參數(shù)

2010-10-26 17:34:03

Oracle索引

2009-10-21 16:34:03

Oracle用戶(hù)名重建索引

2009-10-29 15:56:12

Oracle用戶(hù)權(quán)限視

2010-07-07 13:18:13

SQL Server視
點(diǎn)贊
收藏

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