LINK: http://weblogs.sqlteam.com/joew/archive/2007/10/23/60383.aspx
Why write a cursor to traverse each table – this stored proc allows you to traverse each table automatically:
EXECUTE sp_MSforeachtable ‘EXECUTE sp_spaceused [?];’;
Neat!
——————
Related posts:
- Rhino vs Moq All i can start with at this stage is wow….....
- Instant Twitter Bookmark Tonight’s been a busy night for silly coding This first...
- Struct Constructor Initialisation I’m working on a personal project atm (more details to...
- NUnit 2.5 Beta now supported in TestDriven.NET http://weblogs.asp.net/nunitaddin/archive/2008/12/02/testdriven-net-2-18-nunit-2-5-beta.aspx Jamie covers off some of the new things in...
- Finding out what’s process is listening on port 80 Just saw an excellent tweet by @chadmyers: FYI, to find...
