|
Archives of the TeradataForumMessage Posted: Thu, 08 Sep 2011 @ 12:43:27 GMT
I know I could write the SQL, but I'd rather not reinvent the wheel if someone has it handy.....does anyone have SQL that generates collect stats statements for all NUSIs? We have single and multi-column NUSIs and most are not named, so I have to generate as Collect stats dbname.tbname index (col1, col2); etc
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||