Skip to content

Commit 843fe7e

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into release-2019-cu
2 parents 2256710 + 0bd0a37 commit 843fe7e

47 files changed

Lines changed: 112 additions & 112 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/language-extensions/concepts/extensibility-framework.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] is a serv
5353
|-------------------|-----------|---------------------|
5454
| JavaLauncher.dll for Java | Java extension | SQL Server 2019 |
5555

56-
The [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service runs under **SQLRUserGroup** which uses [AppContainers](https://docs.microsoft.com/windows/desktop/secauthz/appcontainer-isolation) for execution isolation.
56+
The [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service runs under **SQLRUserGroup** which uses [AppContainers](/windows/desktop/secauthz/appcontainer-isolation) for execution isolation.
5757

5858
A separate [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service is created for each database engine instance to which you have added SQL Server Machine Language Extensions. There is one Launchpad service for each database engine instance, so if you have multiple instances with external script support, you will have a Launchpad service for each one. A database engine instance is bound to the Launchpad service created for it. All invocations of external script in a stored procedure or T-SQL result in the SQL Server service calling the Launchpad service created for the same instance.
5959

@@ -81,8 +81,8 @@ Communication protocols among components and data platforms are described in thi
8181

8282
+ **Other protocols**
8383

84-
Processes that might need to work in "chunks" or transfer data back to a remote client can also use the [XDF file format](https://docs.microsoft.com/machine-learning-server/r/concept-what-is-xdf). Actual data transfer is via encoded blobs.
84+
Processes that might need to work in "chunks" or transfer data back to a remote client can also use the [XDF file format](/machine-learning-server/r/concept-what-is-xdf). Actual data transfer is via encoded blobs.
8585

8686
## Next steps
8787

88-
+ [What is Language Extensions?](../language-extensions-overview.md)
88+
+ [What is Language Extensions?](../language-extensions-overview.md)

docs/language-extensions/how-to/call-java-from-sql.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
1313
# How to call the Java runtime in SQL Server Language Extensions
1414
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
1515

16-
[SQL Server Language Extensions](../language-extensions-overview.md) uses the [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql) system stored procedure as the interface to call the Java runtime.
16+
[SQL Server Language Extensions](../language-extensions-overview.md) uses the [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) system stored procedure as the interface to call the Java runtime.
1717

1818
This how-to article explains implementation details for Java classes and methods that execute on SQL Server.
1919

@@ -50,7 +50,7 @@ The following are some basic principles when executing Java on SQL Server.
5050
5151
### Call Java class
5252

53-
The [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql) system stored procedure is the interface used to call the Java runtime. The following example shows an `sp_execute_external_script` using the Java extension, and parameters for specifying path, script, and your custom code.
53+
The [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) system stored procedure is the interface used to call the Java runtime. The following example shows an `sp_execute_external_script` using the Java extension, and parameters for specifying path, script, and your custom code.
5454

5555
> [!NOTE]
5656
> Note that you don't need to define which method to call. By default, a method called **execute** is called. This means that you need to follow the [Extensibility SDK for Java in SQL Server](extensibility-sdk-java-sql-server.md) and implement an execute method in your Java class.
@@ -84,7 +84,7 @@ Once you have compiled your Java class or classes and created a jar file in your
8484

8585
## Use external library
8686

87-
In SQL Server 2019 Release Candidate 1, you can use external libraries for the Java language on Windows and Linux. You can compile your classes into a .jar file and upload the .jar file and other dependencies into the database using the [CREATE EXTERNAL LIBRARY](https://docs.microsoft.com/sql/t-sql/statements/create-external-library-transact-sql) DDL.
87+
In SQL Server 2019 Release Candidate 1, you can use external libraries for the Java language on Windows and Linux. You can compile your classes into a .jar file and upload the .jar file and other dependencies into the database using the [CREATE EXTERNAL LIBRARY](../../t-sql/statements/create-external-library-transact-sql.md) DDL.
8888

8989
Example of how to upload a .jar file with external library:
9090

@@ -107,7 +107,7 @@ EXEC sp_execute_external_script
107107
with result sets ((column1 int))
108108
```
109109

110-
For more information, see [CREATE EXTERNAL LIBRARY](https://docs.microsoft.com/sql/t-sql/statements/create-external-library-transact-sql).
110+
For more information, see [CREATE EXTERNAL LIBRARY](../../t-sql/statements/create-external-library-transact-sql.md).
111111

112112
## Loopback connection to SQL Server
113113

@@ -125,4 +125,4 @@ To make a loopback connection in Linux the JDBC driver requires three connection
125125

126126
## Next steps
127127

128-
+ [Tutorial: Search for a string using regular expressions in Java](../tutorials/search-for-string-using-regular-expressions-in-java.md)
128+
+ [Tutorial: Search for a string using regular expressions in Java](../tutorials/search-for-string-using-regular-expressions-in-java.md)

docs/language-extensions/how-to/java-to-sql-data-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
1313
# Java and SQL Server supported data types
1414
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
1515

16-
This article maps SQL Server data types to Java data types for data structures and parameters on [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql).
16+
This article maps SQL Server data types to Java data types for data structures and parameters on [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md).
1717

1818
The following SQL and Java data types are currently supported for Input/Output data sets and Input/Output parameters.
1919

@@ -48,4 +48,4 @@ The following SQL and Java data types are currently supported for Input/Output d
4848

4949
## Next steps
5050

51-
+ [How to call Java in SQL Server](../how-to/call-java-from-sql.md)
51+
+ [How to call Java in SQL Server](../how-to/call-java-from-sql.md)

docs/language-extensions/install/install-sql-server-language-extensions-on-windows.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ monikerRange: ">=sql-server-ver15||=sqlallproducts-allversions"
1717
Learn how to install the Language Extensions component on SQL Server by running the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] setup wizard.
1818

1919
> [!NOTE]
20-
> This article is for installation of SQL Server Language Extensions on Windows. For Linux, see [Install SQL Server 2019 Language Extensions (Java) on Linux](https://docs.microsoft.com/sql//linux/sql-server-linux-setup-language-extensions)
20+
> This article is for installation of SQL Server Language Extensions on Windows. For Linux, see [Install SQL Server 2019 Language Extensions (Java) on Linux](../..//linux/sql-server-linux-setup-language-extensions.md)
2121
2222
<a name="prerequisites"></a>
2323

@@ -27,7 +27,7 @@ Learn how to install the Language Extensions component on SQL Server by running
2727

2828
+ A database engine instance is required. You cannot install just the Language Extensions features, although you can add them incrementally to an existing instance.
2929

30-
+ For business continuity, [Always On Availability Groups](https://docs.microsoft.com/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server) are supported for Language Extensions. You have to install language extensions, and configure packages, on each node.
30+
+ For business continuity, [Always On Availability Groups](../../database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md) are supported for Language Extensions. You have to install language extensions, and configure packages, on each node.
3131

3232
+ Installing Language Extensions is supported on a failover cluster in SQL Server 2019.
3333

@@ -81,7 +81,7 @@ For local installations, you must run Setup as an administrator. If you install
8181

8282
- If you want to use your own Java runtime, select **Machine Learning Services and Language Extensions**. Do not select Java.
8383

84-
If you want to use R and Python, see [Install SQL Server Machine Learning Services on Windows](https://docs.microsoft.com/sql/machine-learning/install/sql-machine-learning-services-windows-install).
84+
If you want to use R and Python, see [Install SQL Server Machine Learning Services on Windows](../../machine-learning/install/sql-machine-learning-services-windows-install.md).
8585

8686
![Feature options for Language Extensions](../media/sql-install-feature-selection.png)
8787

@@ -101,7 +101,7 @@ For local installations, you must run Setup as an administrator. If you install
101101

102102
Note of the location of the folder under the path `..\Setup Bootstrap\Log` where the configuration files are stored. When setup is complete, you can review the installed components in the Summary file.
103103

104-
6. After setup is complete, if you are instructed to restart the computer, do so now. It is important to read the message from the Installation Wizard when you have finished with Setup. For more information, see [View and Read SQL Server Setup Log Files](https://docs.microsoft.com/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files).
104+
6. After setup is complete, if you are instructed to restart the computer, do so now. It is important to read the message from the Installation Wizard when you have finished with Setup. For more information, see [View and Read SQL Server Setup Log Files](../../database-engine/install-windows/view-and-read-sql-server-setup-log-files.md).
105105

106106
## Add the JRE_HOME variable
107107

@@ -155,7 +155,7 @@ If you did not install the default Zulu Open JRE that was included with SQL Serv
155155
1. Open [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)].
156156
157157
> [!TIP]
158-
> You can download and install the appropriate version from this page: [Download SQL Server Management Studio (SSMS)](https://docs.microsoft.com/sql/ssms/download-sql-server-management-studio-ssms).
158+
> You can download and install the appropriate version from this page: [Download SQL Server Management Studio (SSMS)](../../ssms/download-sql-server-management-studio-ssms.md).
159159
>
160160
> You can also use [Azure Data Studio](../../azure-data-studio/what-is.md), which supports administrative tasks and queries against SQL Server.
161161
@@ -188,7 +188,7 @@ You can restart the service using the right-click **Restart** command for the in
188188
189189
## Register external language
190190
191-
For each database you want to use language extensions in, you need to register the external language with [CREATE EXTERNAL LANGUAGE](https://docs.microsoft.com/sql/t-sql/statements/create-external-language-transact-sql).
191+
For each database you want to use language extensions in, you need to register the external language with [CREATE EXTERNAL LANGUAGE](../../t-sql/statements/create-external-language-transact-sql.md).
192192
193193
The following example adds an external language called Java to a database on SQL Server on Windows.
194194
@@ -198,7 +198,7 @@ FROM (CONTENT = N'<path-to-zip>', FILE_NAME = 'javaextension.dll');
198198
GO
199199
```
200200

201-
For more information, see [CREATE EXTERNAL LANGUAGE](https://docs.microsoft.com/sql/t-sql/statements/create-external-language-transact-sql).
201+
For more information, see [CREATE EXTERNAL LANGUAGE](../../t-sql/statements/create-external-language-transact-sql.md).
202202

203203
## Verify installation
204204

@@ -235,7 +235,7 @@ At the instance level, additional configuration might include:
235235
On the database, you might need the following configuration updates:
236236

237237
* [Give users permission to SQL Server Machine Learning Services](../../machine-learning/security/user-permission.md)
238-
* [Give users permission to execute a specific language](https://docs.microsoft.com/sql/t-sql/statements/create-external-language-transact-sql#permissions)
238+
* [Give users permission to execute a specific language](../../t-sql/statements/create-external-language-transact-sql.md#permissions)
239239

240240
> [!NOTE]
241241
> Whether additional configuration is required depends on your security schema, where you installed SQL Server, and how you expect users to connect to the database and run external scripts.
@@ -260,4 +260,4 @@ If you are using Standard Edition and do not have Resource Governor, you can use
260260
261261
Java developers can get started with some simple examples, and learn the basics of how Java works with SQL Server. For your next step, see the following link:
262262
263-
+ [Tutorial: Regular expressions with Java](../tutorials/search-for-string-using-regular-expressions-in-java.md)
263+
+ [Tutorial: Regular expressions with Java](../tutorials/search-for-string-using-regular-expressions-in-java.md)

docs/language-extensions/language-extensions-overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In SQL Server 2019, Java is supported. The default Java runtime is Zulu Open JRE
2424

2525
Language Extensions uses the extensibility framework for executing external code. Code execution is isolated from the core engine processes, but fully integrated with SQL Server query execution. They let you execute code where the data resides, eliminating the need to pull data across the network.
2626

27-
External languages are defined with [CREATE EXTERNAL LANGUAGE](https://docs.microsoft.com/sql/t-sql/statements/create-external-language-transact-sql). The system stored procedure [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql) is used as the interface for executing the code.
27+
External languages are defined with [CREATE EXTERNAL LANGUAGE](../t-sql/statements/create-external-language-transact-sql.md). The system stored procedure [sp_execute_external_script](../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) is used as the interface for executing the code.
2828

2929
Language Extensions provides multiple advantages:
3030

@@ -47,9 +47,9 @@ Developers typically write code on their own laptop or development workstation.
4747

4848
+ **Install the [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md)** to execute Java code on SQL Server
4949

50-
+ **Use [Azure Data Studio](https://docs.microsoft.com/sql/azure-data-studio/what-is) or [SQL Server Management Studio](https://docs.microsoft.com/sql/ssms/sql-server-management-studio-ssms)** for executing external code on SQL Server
50+
+ **Use [Azure Data Studio](../azure-data-studio/what-is.md) or [SQL Server Management Studio](../ssms/sql-server-management-studio-ssms.md)** for executing external code on SQL Server
5151

52-
+ **Use the system stored procedure [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql)** to execute your Java code on SQL Server.
52+
+ **Use the system stored procedure [sp_execute_external_script](../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md)** to execute your Java code on SQL Server.
5353

5454
### Step 3: Write your first code
5555

@@ -63,7 +63,7 @@ Execute Java code from within T-SQL script:
6363

6464
## Next steps
6565

66-
+ Install [R custom runtime for SQL Server](../machine-learning/install/custom-runtime-python.md)
66+
+ Install [Python custom runtime for SQL Server](../machine-learning/install/custom-runtime-python.md)
6767
+ Install [R custom runtime for SQL Server](../machine-learning/install/custom-runtime-r.md)
6868
+ Install [SQL Server Language Extensions on Windows](install/install-sql-server-language-extensions-on-windows.md) or [on Linux](../linux/sql-server-linux-setup-language-extensions.md)
69-
+ Install the [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md)
69+
+ Install the [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md)

docs/language-extensions/language-extensions-whats-new.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
1717

1818
## New in SQL Server 2019
1919

20-
This release adds the support for Language Extensions in SQL Server. For more information about all of the features in this release, see [What's New in SQL Server 2019](../sql-server/what-s-new-in-sql-server-ver15.md) and [Release Notes for SQL Server 2019](../sql-server/sql-server-ver15-release-notes.md).
20+
This release adds the support for Language Extensions in SQL Server. For more information about all of the features in this release, see [What's New in SQL Server 2019](../sql-server/what-s-new-in-sql-server-ver15.md) and [Release Notes for SQL Server 2019](../sql-server/sql-server-version-15-release-notes.md).
2121

2222
- The default Java Runtime on Windows and Linux is Open Zulu JRE and is included with the [SQL Server Language Extensions installation on Windows](install/install-sql-server-language-extensions-on-windows.md) and [SQL Server Language Extensions installation on Linux](../linux/sql-server-linux-setup-language-extensions.md).
2323
- Supported [Java data types](how-to/java-to-sql-data-types.md).
2424
- [CREATE EXTERNAL LANGUAGE](../t-sql/statements/create-external-language-transact-sql.md) for registering external language (for example, Java) in SQL Server.
2525
- [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md).
2626
- On Windows and Linux, Java code can be accessed in an external library using the [CREATE EXTERNAL LIBRARY (Transact-SQL)](../t-sql/statements/create-external-library-transact-sql.md) statement. Learn more: [How to call Java from SQL Server](how-to/call-java-from-sql.md).
27-
- [Java language extension](language-extensions-overview.md) on Windows and Linux. You can make compiled Java code available to SQL Server by assigning permissions and setting the path. Client apps with access SQL Server can use data and run your code by calling [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql), the same procedure used for R and Python integration on SQL Server Machine Learning Services.
27+
- [Java language extension](language-extensions-overview.md) on Windows and Linux. You can make compiled Java code available to SQL Server by assigning permissions and setting the path. Client apps with access SQL Server can use data and run your code by calling [sp_execute_external_script](../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md), the same procedure used for R and Python integration on SQL Server Machine Learning Services.
2828

2929
## Next steps
3030

31-
+ Install [SQL Server Language Extensions on Windows](install/install-sql-server-language-extensions-on-windows.md) or [on Linux](../linux/sql-server-linux-setup-language-extensions.md)
31+
+ Install [SQL Server Language Extensions on Windows](install/install-sql-server-language-extensions-on-windows.md) or [on Linux](../linux/sql-server-linux-setup-language-extensions.md)

0 commit comments

Comments
 (0)