oracle怎么卸載干凈 oracle中如何刪除已建立的索引?
oracle中如何刪除已建立的索引?檢查索引名select*from useruuu Drop indexuuu nameoracle索引存在則刪除?oraclesqlplus代碼如下:將服務(wù)器設(shè)置為
oracle中如何刪除已建立的索引?
檢查索引名select*from useruuu Drop indexuuu name
oracle索引存在則刪除?
oraclesqlplus代碼如下:將服務(wù)器設(shè)置為declarecnt number(10):=0開(kāi)始選擇count(*)到CNT frontux,其中indexuname=“TESTuindex”和tableuname=“SYSutest”ifcnt=1thenExecuteimmediate“dropindextestuindex”Executeimmediate“createindextest”_指數(shù)檢驗(yàn)(aaa)indextypeisctxsys.context文件“數(shù)據(jù)庫(kù)管理系統(tǒng)”輸出.PUT行(“索引已刪除并重建)”)elsedbmsu輸出.PUT行(“index does not exist”)endiend