Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

recovery_model_desc in SQL 2000

Posted on 2010-08-17
5
Medium Priority
?
785 Views
Last Modified: 2012-08-14
sys.databases has recovery_model_desc. where is that column in SQL 2000? I could not see it in sysdatabases.

thanks
0
Comment
Question by:anushahanna
  • 3
  • 2
5 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 2000 total points
ID: 33457377
Its in the status column, me thinks.
0
 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 2000 total points
ID: 33457385
select name, databasepropertyex(name, 'Recovery') as RecoveryModel from master.dbo.sysdatabases order by name
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33457422
that's it.

is there a reason there is not documentation (that i could find) on sysdatabases.status as you thought so.
0
 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 2000 total points
ID: 33457438
its a bit, so it has to be parsed that way.  

http://msdn.microsoft.com/en-us/library/aa260406%28SQL.80%29.aspx
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33457489
Thanks.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ready to get certified? Check out some courses that help you prepare for third-party exams.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question