File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/azure-sql/database Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ $params = @{
134
134
'username' = $serveradminLogin
135
135
'password' = $serveradminPassword
136
136
'outputSqlErrors' = $true
137
- 'query' = 'ALTER DATABASE SCOPED CONFIGURATION SET MAXDOP = ' + $desiredMAXDOP + ';
137
+ 'query' = 'ALTER DATABASE SCOPED CONFIGURATION SET MAXDOP = ' + $desiredMAXDOP_primary + ';
138
138
ALTER DATABASE SCOPED CONFIGURATION FOR SECONDARY SET MAXDOP = ' + $desiredMAXDOP_secondary_readonly + ';
139
139
SELECT [value], value_for_secondary FROM sys.database_scoped_configurations WHERE [name] = ''MAXDOP'';'
140
140
}
@@ -208,4 +208,4 @@ REBUILD WITH
208
208
209
209
## Next steps
210
210
211
- * [ Monitor and Tune for Performance] ( /sql/relational-databases/performance/monitor-and-tune-for-performance )
211
+ * [ Monitor and Tune for Performance] ( /sql/relational-databases/performance/monitor-and-tune-for-performance )
You can’t perform that action at this time.
0 commit comments