O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Condition Based on a Facet

When you are creating conditions, the general principle includes three elements: selecting a property, an operator, and then a value. The following example walks through the steps to create a condition based on a facet which will enforce a naming standard on a table:

1. To create a condition, connect to a SQL Server 2012 instance on which you want to create a policy.

2. Launch SQL Server Management Studio (SSMS). In Object Explorer, expand the server instance, expand the Management folder, expand the Policy Management folder, and then expand the Facets folder.

3. Within the Facets folder, browse to the desired facet on which you want to create the policy (in this case, the Table facet).

4. To invoke the Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required