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
description: Language Extensions is a feature of SQL Server used for executing external code. In SQL Server 2019, Java, R and Python are supported. The relational data can be used in the external code using the extensibility framework.
4
+
description: Language Extensions is a feature of SQL Server used for executing external code. In SQL Server 2019, Java, Python, and R are supported. The relational data can be used in the external code using the extensibility framework.
Language Extensions is a feature of SQL Server used for executing external code. The relational data can be used in the external code using the [extensibility framework](concepts/extensibility-framework.md).
17
17
18
-
In SQL Server 2019, Java is supported. The default Java runtime is Zulu Open JRE. You can also use another Java JRE or SDK.
18
+
In SQL Server 2019, Java, Python, and R are supported.
19
19
20
20
> [!NOTE]
21
-
> For executing Python or R in SQL Server, see the [Machine Learning Services](../machine-learning/sql-server-machine-learning-services.md) documentation.
21
+
> For executing Python or R in SQL Server, see the [SQL machine learning](../machine-learning/index.yml) documentation. With SQL Server 2019 and later, you can use a custom Python and R runtime with Language Extensions. For more information, see the [Python custom runtime](../machine-learning/install/custom-runtime-python.md) and the [R custom runtime](../machine-learning/install/custom-runtime-r.md).
22
22
23
23
## What you can do with Language Extensions
24
24
25
-
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.
25
+
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. You can execute code at the data's source, eliminating the need to pull data across the network.
26
26
27
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.
28
28
29
29
Language Extensions provides multiple advantages:
30
30
31
31
+ Data security. Bringing external language execution closer to the source of data avoids wasteful or insecure data movement.
32
32
+ Speed. Databases are optimized for set-based operations. Recent innovations in databases such as in-memory tables make summaries and aggregations lightning, and are a perfect complement to data science.
33
-
+ Ease of deployment and integration. [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] is the central point of operations for many other data management tasks and applications. By using data that resides in the database, you ensure that the data used by Java is consistent and up-to-date.
34
-
35
-
## How to get started
36
-
37
-
### Step 1: Install the software
38
-
39
-
+[SQL Server Language Extensions on Windows](install/install-sql-server-language-extensions-on-windows.md)
40
-
+[SQL Server Language Extensions on Linux](../linux/sql-server-linux-setup-language-extensions.md)
41
-
42
-
### Step 2: Configure a development tool
43
-
44
-
Developers typically write code on their own laptop or development workstation. With language extensions in SQL Server, there is no need to change this process. After installation is complete, you can run Java code on SQL Server.
45
-
46
-
+**Use the IDE you prefer** for developing Java code.
47
-
48
-
+**Install the [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md)** to execute Java code on SQL Server
49
-
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
51
-
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.
53
-
54
-
### Step 3: Write your first code
55
-
56
-
Execute Java code from within T-SQL script:
57
-
58
-
+[Tutorial: Regular expressions with Java](tutorials/search-for-string-using-regular-expressions-in-java.md)
59
-
60
-
## Limitations
61
-
62
-
+ The number of values in input and output buffers cannot exceed `MAX_INT (2^31-1)` since that is the maximum number of elements that can be allocated in an array in Java.
33
+
+ Ease of deployment and integration. [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] is the central point of operations for many other data management tasks and applications. By using data in the database, you ensure that the data used by the language extension is consistent and up-to-date.
63
34
64
35
## Next steps
65
36
66
-
+ Install [Python custom runtime for SQL Server](../machine-learning/install/custom-runtime-python.md)
67
-
+ Install [R custom runtime for SQL Server](../machine-learning/install/custom-runtime-r.md)
68
-
+ 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)
37
+
+ Install the [Python custom runtime for SQL Server](../machine-learning/install/custom-runtime-python.md)
38
+
+ Install the [R custom runtime for SQL Server](../machine-learning/install/custom-runtime-r.md)
39
+
+ Install the [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)
40
+
+ Install the [Microsoft Extensibility SDK for Java](how-to/extensibility-sdk-java-sql-server.md)
0 commit comments