My script is like this
Insert values into GTT;
Collect stats on index of GTT;
INSERT into TBL1 by joining TBL2 and GTT;
EOF
Here issues are 1. Collect stats fails and 2.values inserted into GTT is deleted by execution reaches the second insert statement
If I use BT and ET, then values in GTT persists till second insert statement, but I cant collect stats on GTT ( which is very necessary for
me)
I tried the below option, still it fails.
bteq <
My script is like this
Insert values into GTT;
Collect stats on index of GTT;
INSERT into TBL1 by joining TBL2 and GTT;
EOF
It would be great if you could help me on this.
Thanks,
Prasad K K