Viewing 2 posts - 1 through 2 (of 2 total)
ron.mcdowell that is an awesome script. My initial testing shows it is significantly faster than my script and for all my tests it was accurate. Now I need to learn...
June 16, 2011 at 8:30 am
#1339776
To expand on ianhenderson's way here is the loop without worrying about the lowest id and just grabbing the next one that doesn't have a count.
DECLARE @TableName VARCHAR(255);
SELECT TABLE_NAME AS...
June 16, 2011 at 6:47 am
#1339625