![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 12 Jan 2012 @ 20:48:51 GMT
You can use the new version of my stats query for it, it returnes the collect statement for indexes without stats, too:
SELECT CollectStatement
FROM StatsInfo
WHERE DatabaseName = 'xxx'
AND StatsType in ('UPI', NUPI')
Dieter
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||