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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Check for a database setting

Author  Topic 

CanadaDBA

583 Posts

Posted - 2007-02-14 : 10:26:00
I want to query my databases to find out if Auto Shrink is set. I know the status column in sysdatabases holds this value as a bit setting but I don't know how can I check this value using a query.

Canada DBA

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-02-14 : 10:34:19
SELECT DATABASEPROPERTY('test', 'IsAutoShrink')



Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -