2
當我們根據表的列創建函數時,爲什麼在user_tab_cols中創建條目?基於函數的索引和user_tab_cols
create table t1(a varchar2(100), b number);
select * from user_tab_cols where table_name = 'T1'; -- Two rows coming
create index idx1 on t1(upper(a));
select * from user_tab_cols where table_name = 'T1'; -- Three rows coming
將條目放在user_tab_cols中的原因是什麼?
你懶得去看看由user_tab_cols返回的數據?你可能已經得到了一個可以回答你的問題的線索。 –