Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 db options

Author  Topic 

AgaK
Yak Posting Veteran

86 Posts

Posted - 2010-04-22 : 12:10:21
Hi,

Is there a stored procedure that allows seeing the options of a database? For example: right click on the database, proprieties, options, Page Verify : CHECKSUM

thank you

AK

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-04-22 : 12:17:11
select * from sys.databases
Also look up the DATABASEPROPERTYEX function.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-23 : 02:24:41
you've a system sp called sp_dboptions

http://msdn.microsoft.com/en-us/library/ms187310.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -