You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6bbf076
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Starting with [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], use the followi
54
54
|Server with multiple NUMA nodes|Greater than 16 logical processors per NUMA node|Keep MAXDOP at half the number of logical processors per NUMA node with a MAX value of 16|
55
55
56
56
> [!NOTE]
57
-
> NUMA node in the above table refers to soft-NUMA nodes automatically created by [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] and higher versions.
57
+
> NUMA node in the above table refers to soft-NUMA nodes automatically created by [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] and higher versions, or hardware-based NUMA nodes if soft-NUMA has been disabled.
58
58
> Use these same guidelines when you set the max degree of parallelism option for Resource Governor workload groups. For more information, see [CREATE WORKLOAD GROUP (Transact-SQL)](../../t-sql/statements/create-workload-group-transact-sql.md).
59
59
60
60
From [!INCLUDE[ssKatmai](../../includes/ssKatmai-md.md)] through [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)], use the following guidelines when you configure the **max degree of parallelism** server configuration value:
3. Copy and paste the following example into the query window and then click **Execute**. The example creates a table with a computed column that multiplies the value in the `QtyAvailable` column times the value in the `UnitPrice` column.
3. Copy and paste the following example into the query window and then click **Execute**. The following example adds a new column to the table created in the previous example.
113
113
114
+
```sql
115
+
ALTER TABLE dbo.Products ADD RetailValue AS (QtyAvailable * UnitPrice * 1.5);
114
116
```
115
-
ALTER TABLE dbo.Products ADD RetailValue AS (QtyAvailable * UnitPrice * 1.35);
117
+
118
+
Optionally, add the PERSISTED argument to physically store the computed valuesin the table:
116
119
117
-
```
120
+
```sql
121
+
ALTER TABLE dbo.Products ADD RetailValue AS (QtyAvailable * UnitPrice * 1.5) PERSISTED;
122
+
```
118
123
124
+
119
125
#### To change an existing column to a computed column
120
126
121
127
1. Connect to the [!INCLUDE[ssDE](../../includes/ssde-md.md)].
3. To change an existing column to a computed column you must drop and re-create the computed column. Copy and paste the following example into the query window and then click **Execute**. The following example modifies the column added in the previous example.
126
132
127
-
```
133
+
```sql
128
134
ALTER TABLE dbo.Products DROP COLUMN RetailValue;
129
135
GO
130
-
ALTER TABLE dbo.Products ADD RetailValue AS (QtyAvailable * UnitPrice * 1.5);
131
-
132
-
```
133
-
136
+
ALTER TABLE dbo.Products ADD RetailValue AS (QtyAvailable * UnitPrice * 1.5);
137
+
```
138
+
134
139
For more information, see [ALTER TABLE (Transact-SQL)](../../t-sql/statements/alter-table-transact-sql.md).
Copy file name to clipboardExpand all lines: docs/relational-databases/wmi-provider-configuration-classes/sqlservice-class/sqlservicetype-property-sqlservice-class.md
Copy file name to clipboardExpand all lines: docs/relational-databases/wmi-provider-configuration-classes/sqlserviceadvancedproperty-class/sqlservicetype-property-sqlserviceadvancedproperty-class.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,11 @@ object.SetBoolValue(NumValue)
49
49
|*5*|MSSQLServerOLAPService is the [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] service.|
50
50
|*6*|ReportServer is the [!INCLUDE[ssRSnoversion](../../../includes/ssrsnoversion-md.md)] service.|
51
51
|*7*|SQLBrowser is the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Browser service.|
52
+
|*8*|NsService is the [!INCLUDE[ssNoVersion](../../../includes/ssns-md.md)] Notification service.|
53
+
|*9*|MSSQLFDLauncher is the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Full-text Filter Daemon Launcher service.|
54
+
|*10*|SQLPBENGINE is the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Polybase Engine service.|
55
+
|*11*|SQLPBDMS is the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Polybase Data Movement service.|
56
+
|*12*|MSSQLLaunchpad is the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Launchpad service.|
52
57
53
58
## See Also
54
59
[Starting and Stopping Services](https://technet.microsoft.com/library/ms174886\(v=sql.105\).aspx)
0 commit comments