Viewing 5 posts - 61 through 66 (of 66 total)
Somebody posted this sometimes back. Hope this helps.
DROP PROCEDURE dbo.sp_ServerStatus
go
CREATE PROCEDURE dbo.sp_ServerStatus
/*******************************************************************************
Written By : Simon Sabin
Date :...
paul
December 11, 2002 at 10:41 pm
Try this undocumented sp.
set nocount on
create table #sp_mstablespace (Rows INT, DataSpaceUsed INT, IndexSpaceUsed INT )
Insert into #sp_mstablespace
Exec sp_mstablespace <YourTableName>
select * from #sp_mstablespace
paul
paul
December 11, 2002 at 10:21 pm
Please follow these, it always helps
1. INDENTATION
2. Define all variables at the very top
3. Document history of changes, at the very begining
paul
paul
April 19, 2002 at 5:11 pm
Viewing 5 posts - 61 through 66 (of 66 total)