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
Copy file name to clipboardExpand all lines: docs/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,34 +102,32 @@ These options change the `MAXDOP` for the instance.
102
102
103
103
## Use Transact-SQL
104
104
105
-
1. Connect to the [!INCLUDE [ssDE](../../includes/ssde-md.md)] with [!INCLUDE [ssManStudioFull](../../includes/ssmanstudiofull-md.md)].
Copy and paste the following example into a query window and select **Execute**. This example shows how to use [sp_configure](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md) to configure the `max degree of parallelism` option to `16`.
108
108
109
-
1. Copy and paste the following example into the query window and select **Execute**. This example shows how to use [sp_configure](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md) to configure the `max degree of parallelism` option to `16`.
109
+
```sql
110
+
USE master;
111
+
GO
110
112
111
-
```sql
112
-
USE master;
113
-
GO
113
+
EXECUTE sp_configure 'show advanced options', 1;
114
+
GO
114
115
115
-
EXECUTE sp_configure 'show advanced options', 1;
116
-
GO
116
+
RECONFIGURE WITH OVERRIDE;
117
+
GO
117
118
118
-
RECONFIGURE WITH OVERRIDE;
119
-
GO
119
+
EXECUTE sp_configure 'max degree of parallelism', 16;
120
+
GO
120
121
121
-
EXECUTE sp_configure 'max degree of parallelism', 16;
122
-
GO
122
+
RECONFIGURE WITH OVERRIDE;
123
+
GO
123
124
124
-
RECONFIGURE WITH OVERRIDE;
125
-
GO
125
+
EXECUTE sp_configure 'show advanced options', 0;
126
+
GO
126
127
127
-
EXECUTE sp_configure 'show advanced options', 0;
128
-
GO
129
-
130
-
RECONFIGURE;
131
-
GO
132
-
```
128
+
RECONFIGURE;
129
+
GO
130
+
```
133
131
134
132
For more information, see [Server configuration options](server-configuration-options-sql-server.md).
1. In the Connections pane under servers, right-click a server and Select **Properties**.
57
-
58
-
1. Select the **Connections** node.
59
-
60
-
1. Under **Connections**, in the **Max number of concurrent connections** box, type or select a value from `0` through `32767` to set the maximum number of users that are allowed to connect simultaneously to the instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
Copy file name to clipboardExpand all lines: docs/database-engine/configure-windows/connect-to-sql-server-when-system-administrators-are-locked-out.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,16 +55,6 @@ For step-by-step instructions about how to start [!INCLUDE [ssNoVersion](../../i
55
55
56
56
### Use PowerShell
57
57
58
-
#### Option 1: Run the steps directly in an executable notebook using Azure Data Studio
59
-
60
-
> [!NOTE]
61
-
> Before attempting to open this notebook, check that Azure Data Studio is installed on your local machine. To install Azure Data Studio, see [Download and install Azure Data Studio](/azure-data-studio/download-azure-data-studio).
62
-
63
-
> [!div class="nextstepaction"]
64
-
> [Open Notebook in Azure Data Studio](azuredatastudio://microsoft.notebook/open?url=https://raw.githubusercontent.com/microsoft/mssql-support/master/sample-scripts/DOCs-to-Notebooks/T-shooting-SQL-SystemAdmins-Locked-out.ipynb)
65
-
66
-
#### Option 2: Follow the step manually
67
-
68
58
1. Open an elevated Windows PowerShell command prompt.
69
59
70
60
1. Set up service name and [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance, and Windows login variables. Replace these values with values that match your environment.
Copy file name to clipboardExpand all lines: docs/integration-services/import-export-data/start-the-sql-server-import-and-export-wizard.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,6 @@ You can start the wizard:
29
29
- From the [command prompt](#command-prompt).
30
30
- From [Visual Studio](#visual-studio).
31
31
32
-
> [!TIP]
33
-
> Another way to import data is with the [SQL Server Import extension](../../azure-data-studio/extensions/sql-server-import-extension.md) extension in Azure Data Studio.
34
-
35
32
## Get the wizard
36
33
37
34
You can run the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Import and Export Wizard directly through [!INCLUDE [ssManStudioFull](../../includes/ssmanstudiofull-md.md)] (SSMS).
1. Connect to a database client, and run the following statement:
155
157
156
158
```sql
157
159
EXECUTE sp_configure 'external scripts enabled';
@@ -163,7 +165,7 @@ Use the following steps to verify that all components used to launch external sc
163
165
164
166
## Additional configuration
165
167
166
-
If the verification step was successful, you can run C# code from SQL Server Management Studio, Azure Data Studio, Visual Studio Code, or any other client that can send T-SQL statements to the server.
168
+
If the verification step was successful, you can run C# code from any client that can send T-SQL statements to the server.
167
169
168
170
If you got an error when running the command, review the additional configuration steps in this section. You might need to make extra appropriate configurations to the service or database.
Copy file name to clipboardExpand all lines: docs/language-extensions/install/windows-java.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ For local installations, you must run Setup as an administrator. If you install
98
98
99
99
**Database Engine Services**: To use Language Extensions with SQL Server, you must install an instance of the [!INCLUDE [ssde-md](../../includes/ssde-md.md)]. You can use either a default or a named instance.
100
100
101
-
**Machine Learning Services and Language Extensions**: This option installs the Language Extensions component that support Java code execution.
101
+
**Machine Learning Services and Language Extensions**: This option installs the Language Extensions component that supports Java code execution.
102
102
103
103
- If you want to install the default Java runtime, select both **Machine Learning Services and Language Extensions** and **Java**.
104
104
@@ -121,7 +121,7 @@ For local installations, you must run Setup as an administrator. If you install
121
121
122
122
**Database Engine Services**: To use Language Extensions with SQL Server, you must install an instance of the [!INCLUDE [ssde-md](../../includes/ssde-md.md)]. You can use either a default or a named instance.
123
123
124
-
**Machine Learning Services and Language Extensions**: This option installs the Language Extensions component that support Java code execution.
124
+
**Machine Learning Services and Language Extensions**: This option installs the Language Extensions component that supports Java code execution.
125
125
126
126
:::image type="content" source="../media/windows-java/2022/sql-server-2022-machine-learning-services-feature-selection.png" alt-text="Screenshot of instance features." lightbox="../media/windows-java/2022/sql-server-2022-machine-learning-services-feature-selection.png":::
127
127
@@ -181,7 +181,7 @@ For local installations, you must run Setup as an administrator. If you install
181
181
182
182
1. Download the `java-lang-extension-windows-release.zip` file from [the Java language extension for SQL Server GitHub repo](https://github.com/microsoft/sql-server-language-extensions/releases). Download the latest Windows `java-lang-extension-windows.zip` file. If you haven't installed the default Java from SQL Server Setup, ensure that the JRE version matches the one that is downloaded from GitHub. If you prefer to use your own installed JRE version, you might need to compile `java-lang-extension` from GitHub source code.
183
183
184
-
1. Use [Azure Data Studio](/azure-data-studio/what-is-azure-data-studio) to connect to your SQL Server instance and run the following T-SQL command to register the Java language extension with [CREATE EXTERNAL LANGUAGE](../../t-sql/statements/create-external-language-transact-sql.md).
184
+
1. Use the [MSSQL extension for Visual Studio Code](../../tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code.md) to connect to your SQL Server instance and run the following T-SQL command to register the Java language extension with [CREATE EXTERNAL LANGUAGE](../../t-sql/statements/create-external-language-transact-sql.md).
185
185
186
186
1. Modify the path in this statement to reflect the location of the downloaded language extension zip file (java-lang-extension-windows-release.zip) and the location your custom Java installation (`%ProgramFiles%\Python`).
187
187
@@ -280,7 +280,9 @@ Check the installation status of the instance in the setup logs.
280
280
281
281
Use the following steps to verify that all components used to launch external script are running.
282
282
283
-
1. In SQL Server Management Studio or Azure Data Studio, open a new query window, and run the following statement:
1. Connect to a database client, and run the following statement:
284
286
285
287
```sql
286
288
EXECUTE sp_configure 'external scripts enabled';
@@ -292,7 +294,7 @@ Use the following steps to verify that all components used to launch external sc
292
294
293
295
## Additional configuration
294
296
295
-
If the verification step was successful, you can run Java Code from SQL Server Management Studio, Azure Data Studio, Visual Studio Code, or any other client that can send T-SQL statements to the server.
297
+
If the verification step was successful, you can run Java code from any client that can send T-SQL statements to the server.
296
298
297
299
If you got an error when running the command, review the additional configuration steps in this section. You might need to make extra appropriate configurations to the service or database.
0 commit comments