x
login about faq Site discussion (meta-askssc)

Size for DB in Suspect\OFFLINE

how to check the DB size and other details which is in SUSPECT\OFFLINE mode in SQL Server 2000

more ▼

asked Mar 01 '11 at 12:21 PM in Default

srivivek gravatar image

srivivek
519 30 39 42

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

Look at the file sizes? Find them from the master..sysaltfiles table.

more ▼

answered Mar 01 '11 at 12:26 PM

ThomasRushton gravatar image

ThomasRushton ♦
29.5k 6 9 36

thank you Thomas Rushton

Mar 01 '11 at 01:15 PM srivivek
(comments are locked)
10|1200 characters needed characters left

According to this the sysaltfiles table has been deprecated.

Use master.sys.master_files instead, and know that the size returned by this table is the number of 8 kb pages in your database file. (BOL)

more ▼

answered Mar 01 '11 at 01:45 PM

Jos Menhart gravatar image

Jos Menhart
222 5 7 7

Way to keep us current :)

Mar 01 '11 at 02:28 PM KenJ

Yeah, but it's a query about SQL2000... which is also deprecated...

Mar 01 '11 at 02:38 PM ThomasRushton ♦

shame, I missed that, completely. Just started databases on SQL 2005 :-).

Mar 01 '11 at 02:45 PM Jos Menhart

@Jos Menhart - you n00b! ;-) Started on SQL 4.whatever... The worrying part is that my most recent SQL 2000 build was just a couple of months ago.

Mar 01 '11 at 02:51 PM ThomasRushton ♦
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x3

asked: Mar 01 '11 at 12:21 PM

Seen: 386 times

Last Updated: Mar 01 '11 at 12:28 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.