Skip to content

Commit 5bd52ba

Browse files
committed
fixed code example formatting
1 parent 82238b7 commit 5bd52ba

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-how-to-configure-workload-importance.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: craigg
77
ms.service: synapse-analytics
88
ms.subservice:
99
ms.topic: conceptual
10-
ms.date: 02/04/2020
10+
ms.date: 05/15/2020
1111
ms.author: rortloff
1212
ms.reviewer: jrasnick
1313
ms.custom: azure-synapse
@@ -19,7 +19,7 @@ Setting importance in Synapse SQL for Azure Synapse allows you to influence the
1919

2020
## Create a Workload Classifier with Importance
2121

22-
Often in a data warehouse scenario you have users who need their queries to run quickly. The user could be executives of the company who need to run reports or the user could be an analyst running an adhoc query. You create a workload classifier to assign importance to a query. The examples below use the new [create workload classifier](/sql/t-sql/statements/create-workload-classifier-transact-sql?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) syntax to create two classifiers. `Membername` can be a single user or a group. Individual user classifications take precedence over role classifications. To find existing data warehouse users, run:
22+
Often in a data warehouse scenario you have users, on a busy system, who need to run their queries quickly. The user could be executives of the company who need to run reports or the user could be an analyst running an adhoc query. To assign importance, you create a workload classifier and importance is assigned to a query. The examples below use the [create workload classifier](/sql/t-sql/statements/create-workload-classifier-transact-sql?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) syntax to create two classifiers. `Membername` can be a single user or a group. To find existing data warehouse users, run:
2323

2424
```sql
2525
Select name from sys.sysusers
@@ -28,20 +28,19 @@ Select name from sys.sysusers
2828
To create a workload classifier, for a user with higher importance run:
2929

3030
```sql
31-
CREATE WORKLOAD CLASSIFIER ExecReportsClassifier 
32-
    WITH (WORKLOAD_GROUP = 'xlargerc'
33-
,MEMBERNAME     = 'name'
34-
,IMPORTANCE     =  above_normal); 
35-
31+
CREATE WORKLOAD CLASSIFIER ExecReportsClassifier
32+
WITH (WORKLOAD_GROUP = 'xlargerc'
33+
,MEMBERNAME = 'name'
34+
,IMPORTANCE = above_normal);
3635
```
3736

3837
To create a workload classifier for a user running adhoc queries with lower importance run: 
3938

4039
```sql
41-
CREATE WORKLOAD CLASSIFIER AdhocClassifier 
42-
    WITH (WORKLOAD_GROUP = 'xlargerc'
43-
,MEMBERNAME     = 'name'
44-
,IMPORTANCE     =  below_normal);
40+
CREATE WORKLOAD CLASSIFIER AdhocClassifier
41+
WITH (WORKLOAD_GROUP = 'xlargerc'
42+
,MEMBERNAME = 'name'
43+
,IMPORTANCE = below_normal);
4544
```
4645

4746
## Next Steps

0 commit comments

Comments
 (0)