Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Stats collection inside SP's - response (11) by dnoeth

$
0
0

I don't know the exact reason, but it seems to be based on the combination of the security option and the dynamic SQL when a different user calls the SP.
When you change SECURITY to OWNER and use "COLLECT STATS temp COLUMN name;" instead of sysexecsql it seems to work.
Dieter


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>