create table t_based_function(a varchar2(3));
create function index func_idx_a on t_based_function(length(a));--报错 ora-04050:过程,函数或程序包名无效或缺失
create index func_idx_a on t_based_function(length(a));--这样可以创建基于函数的索引
--小结
1,创建基于函数的索引的语法不用写function
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-745321/
,如需转载,请注明出处,否则将追究法律责任。