The alternate way to archive this as fast
Mssql-2000
SELECT rows
FROM sysindexes
WHERE object_name(id) = 'table_name
AND indid =0
Mssql -2005 or more
SP_SPACEUSED table_name
This is the space for sharing knowledge on RDBMS and SQL Programming "Knowledge is the only thing which can grow while sharing" Keep sharing keep growing...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.