Hi,
I want to run multiple COLLECT STATS statements simultaneously on the Teradata database.
How can i achieve this using BTEQ script, can i run these multiple statements in BTEQ ?
I tried following way
collect stats on table column (row_wid)
;collect stats on table column (order_wid);
(Above syntax we can follow for multiple select and insert
Ex:
INSERT INTO X
SELECT * FROM A
;INSERT INTO X
SELECT * FROM B;
This works.
)
but its not working for collect stats, is there any limitations on this syntax?
Is there any other way to achieve for same?
Thanks in adavance.
↧