oracle---给表创建函数索引
2017-03-29 11:14
316 查看
select empshebaog0_.c_xianzhong as c1_, empshebaog0_.c_code as c2_249_, empshebaog0_.c_employeeid as
c3_249_, empshebaog0_.person_base as person4_249_, empshebaog0_.person_bl as person5_249_,
empshebaog0_.company_base as company6_249_, empshebaog0_.company_bl as company7_249_,
empshebaog0_.c_gjjjnd as c8_249_, empshebaog0_.c_sbjnd as c9_249_ from TB_V_EMP_BX_GJJ_INFO
empshebaog0_ where empshebaog0_.c_code=821337 order by empshebaog0_.c_xianzhong
这条sql语句增加一个函数索引
create index cd_zs.idx_TB_INF_EMPLOYEE10 on cd_zs.TB_INF_EMPLOYEE(TO_NUMBER(C_CODE))
online tablespace tb42;
c3_249_, empshebaog0_.person_base as person4_249_, empshebaog0_.person_bl as person5_249_,
empshebaog0_.company_base as company6_249_, empshebaog0_.company_bl as company7_249_,
empshebaog0_.c_gjjjnd as c8_249_, empshebaog0_.c_sbjnd as c9_249_ from TB_V_EMP_BX_GJJ_INFO
empshebaog0_ where empshebaog0_.c_code=821337 order by empshebaog0_.c_xianzhong
这条sql语句增加一个函数索引
create index cd_zs.idx_TB_INF_EMPLOYEE10 on cd_zs.TB_INF_EMPLOYEE(TO_NUMBER(C_CODE))
online tablespace tb42;
相关文章推荐
- Oracle技术之基于自定义函数的Function-Based索引创建
- oracle 创建表,序列,索引,视图,触发器,函数,存储过程,定时器,包体
- oracle自定义函数创建函数索引
- Oracle中如何导出存储过程、函数、包和触发器的定义语句?如何导出表的结构?如何导出索引的创建语句?
- Oracle中如何导出存储过程、函数、包和触发器的定义语句?如何导出表的结构?如何导出索引的创建语句?
- oracle创建函数索引
- 如何创建oracle函数索引
- Oracle创建全文索引
- Oracle 数据库中创建合理的数据库索引
- Oracle8i 函数索引实验
- Oracle 创建一个字符串分割的函数
- Oracle中重建索引时如何解决“无法为表空间 XXXXXX 中的段创建INITIAL区”错误
- 基于自定义函数的Function-Based索引创建
- Oracle 的 索 引 的 创 建 :索引的创建方法,使用场合及建议
- Oracle 索 引 的 分 类 : Oracle 函数索引
- oracle导出创建用户下各个对象数据结构的sql语句的脚本,包括表、视图、索引、约束等等
- 创建与维护Oracle分区表和本地索引
- Oracle基础学习三:过程PROCEDURE 和函数FUNCTION 的创建及调用
- oracle 函数索引 提高性能
- 使用to_date创建函数索引的时候经常会遇到ORA-01743错误