473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Re: Datadevices

>--- On Sun, 9/7/08, ph3ng <jt****@gmail.comwrote:
>
>Thanks for your reply. I believe I am currently using:

Microsoft SQL Server 2000.

I am not too well versed with the the history of sysdevices
- and
appreciate the background info that you've given me.

When I use sp_helpdb (which I have done previously),
doesn't this
generate a list of all the databases currently on the
server as well
as the size for each db? If this is correct, then I would
still only
have 'space used' and not total space allocated on
the device. Is this
correct?
Please reply to the newsgroup so that the discussion may help others
too.

If you just run sp_helpdb without any parameter you get a list of
databases with some information on each. If you execute it with a
database name as a parameter it returns considerably more detail about
that specific database, including the size (total space allocated) of
each database file. In SQL Server 2000 the source to sp_helpdb can be
found in the master database.

Roy Harvey
Beacon Falls, CT
Sep 8 '08 #1
1 1054
On Sep 8, 11:20*am, "Roy Harvey (SQL Server MVP)"
<roy_har...@snet.netwrote:
--- On Sun, 9/7/08, ph3ng <jth...@gmail.comwrote:
Thanks for your reply. I believe I am currently using:
Microsoft SQL Server *2000.
I am not too well versed with the the history of sysdevices
- and
appreciate the background info that you've given me.
When I use sp_helpdb (which I have done previously),
doesn't this
generate a list of all the databases currently on the
server as well
as the size for each db? If this is correct, then I would
still only
have 'space used' and not total space allocated on
the device. Is this
correct?

Please reply to the newsgroup so that the discussion may help others
too.

If you just run sp_helpdb without any parameter you get a list of
databases with some information on each. *If you execute it with a
database name as a parameter it returns considerably more detail about
that specific database, including the size (total space allocated) of
each database file. *In SQL Server 2000 the source to sp_helpdb can be
found in the master database.

Roy Harvey
Beacon Falls, CT
Hi Roy

Thanks for that. sorry about replying it privately. I will give that a
try. Thank you.

Regards

Justin
Sep 8 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.