I want to look at the size of the current database, so I can create a new
one if it gets too big (we are working around the 2gb MSDE limit for our
customers).
I would like to do something like this:
DECLARE @size INTEGER
execute BLOB0000.dbo.sp _spaceused
and make @size = the database_size column value that sp_spaceused returns.
Any way to do this?
Thanks.
one if it gets too big (we are working around the 2gb MSDE limit for our
customers).
I would like to do something like this:
DECLARE @size INTEGER
execute BLOB0000.dbo.sp _spaceused
and make @size = the database_size column value that sp_spaceused returns.
Any way to do this?
Thanks.
Comment