3 #create table t1(f1 int not null,f2 int,f3 int);
4 #create multiple tree index on the same table by taking different combination of fields
5 #create index idx1 on t1(f1) tree;
6 #create index idx2 on t1(f2) tree;
7 #create index idx3 on t1(f3) tree;
8 #create index idx4 on t1(f1,f2) tree;
9 #create index idx5 on t1(f2,f3) tree;
10 #create index idx6 on t1(f3,f1) tree;
11 #create index idx7 on t1(f1,f2,f3) tree;
12 #all should work fine.
14 QUITFILE
=${PWD}/tools
/csql
/quit.sql
18 REL_PATH
=`pwd`/tools
/csql
20 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree7.sql
25 $CSQL_INSTALL_ROOT/bin
/catalog
-u root
-p manager
-l
26 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/drop.sql