Home Forums Article Discussions Article Discussions by Author Discuss content posted by Harsha Majety Script to find table sizes in a database RE: Script to find table sizes in a database
Andrew Watson-478275
SSCarpal Tunnel
Points: 4652
More actions
December 14, 2010 at 2:27 am
#1262083
You don't really avoid using cursors or loops - if you have a look inside sp_msforeachtable and sp_msforeach_worker, you'll see it uses them itself.
For me, the main reason for using it is that it's easier.