例:
有表结构如下:
create table tab1(
a char(10),
b char(1),
c char(10)
);
程序中查询语句为 select * from tab1 where a[3,8] = '120921' and b = '1';
tab1表数据量大,所以想创建索引来提升效率。应该如何创建?
...全文
5921打赏收藏
informix 如何创建函数联合索引
例: 有表结构如下: create table tab1( a char(10), b char(1), c char(10) ); 程序中查询语句为 select * from tab1 where a[3,8] = '120921' and b = '1'; tab1表数据量大,所以想创建索引来提升效率。应该如何创建?