#!/bin/sh

./run_tool.sh<<EOF
open db salesdemo;

ALTER TABLE item CLUSTER ON index_item_name ;
ALTER TABLE item RENAME TO item_new ;

ALTER TABLE salesorder CLUSTER ON index_ent_date ;
ALTER TABLE salesorder RENAME TO salesorder_new ;

ALTER TABLE salesordertail CLUSTER ON index_sum ;
ALTER TABLE salesordertail RENAME TO salesordertail_new ;

close db;
EOF
