Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Policy Based Management - is it possible to...
Policy Based Management - is it possible to combine Facets?
Rate Topic
Display Mode
Topic Options
Author
Message
Artem Ervits (@dbist)
Artem Ervits (@dbist)
Posted Friday, April 08, 2011 1:43 PM
Grasshopper
Group: General Forum Members
Last Login: Friday, October 05, 2012 8:08 AM
Points: 19,
Visits: 136
I need to run a policy and exclude a certain set of servers that have databases that contain heaps. Is there a way to combine more than one facet or condition in a policy?
Thanks
Post #1090893
troubleshootingsql
troubleshootingsql
Posted Friday, April 08, 2011 2:03 PM
Grasshopper
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 6:01 AM
Points: 17,
Visits: 61
Yes.
@SQLChicken
already replied to this on the #sqlhelp hashtag on Twitter. Create condition for facet TABLE and use property of @HasClusteredIndex = True.
Reference: http://msdn.microsoft.com/en-us/library/ms135681
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog
:
TroubleshootingSQL
Twitter
:
@banerjeeamit
Post #1090907
Artem Ervits (@dbist)
Artem Ervits (@dbist)
Posted Friday, April 08, 2011 2:40 PM
Grasshopper
Group: General Forum Members
Last Login: Friday, October 05, 2012 8:08 AM
Points: 19,
Visits: 136
thanks I just got it to work also, I was doing it a mad scientist way when I could've just added hasclusterdindex with hascompressedpartitions, thanks for the reply.
Post #1090939
Sqlchicken
Sqlchicken
Posted Friday, April 08, 2011 2:41 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Wednesday, April 17, 2013 6:37 AM
Points: 134,
Visits: 616
Here you go, wrote this up for you:
Find Heaps Using Policy-Based Management
=============================================================
/* Backups are worthless, Restores are priceless */
Get your learn on at SQL University!
Follow me on Twitter
|
Connect on LinkedIn
My blog:
http://sqlchicken.com
My book:
Pro Server 2008 Policy-Based Management
Post #1090940
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.