Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

INFORMATIONAL: Update Stats command - With Rowcount and With Pagecount

$
0
0

Hi Everyone,

I just wanted to put this out there because I think that this feature is so awesome!

The undocumented options of the Update Stats command, WITH ROWCOUNT and WITH PAGECOUNT. Used to trick the optimizer into thinking that tables have more records than they actually do. It is so useful for testing in development environments etc.

Note: only available from 2005 on...

Awesome... Now back to my projects.

Frank


Frank Garcia



Viewing all articles
Browse latest Browse all 15889

Trending Articles



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