Skip to content

Commit 667430f

Browse files
Java extension CTP3 minor updates, typo fixes etc.
1 parent 83216bd commit 667430f

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎docs/language-extensions/tutorials/search-for-string-using-regular-expressions-in-java.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ If you are using Windows, follow the steps below to create an external language
198198

199199
### Create external language on Linux
200200

201-
If you are using Windows, follow the steps below to create an external language.
201+
If you are using Windows, follow the steps above to create an external language.
202202

203203
On Linux, you don't need to manually create a **.tar.gz** file. As part of setup, there is already generated a **.tar.gz** file under the following path:
204204
`/opt/mssql/lib/extensibility/java-lang-extension.tar.gz`.

‎docs/t-sql/statements/alter-external-language-transact-sql.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: ALTER EXTERNAL LANGUAGE (Transact-SQL) - SQL Server | Microsoft Docs
33
ms.custom:
4-
ms.date: 05/15/2019
4+
ms.date: 05/17/2019
55
ms.prod: sql
66
ms.reviewer: ""
77
ms.technology: t-sql
@@ -78,23 +78,25 @@ Specifies the name of the user or role that owns the external language. If not s
7878
Specifies the content of the language extension.Only one filespec is allowed for a specific language, per platform.
7979

8080
**external_lang_specifier**
81+
8182
The full file path to the .zip or tar.gz file containing the extensions code. This content can either be a path to a .zip file (on Windows) or tar.gz (on Linux).
8283

8384
**content_bits**
8485

85-
This option is useful if you have the required permission to alter a library, but file access on the server is restricted and you cannot save the contents to a path the server can access. Instead, you can pass the language contents as a variable in binary format.
86+
Specifies the content of the language as a hex literal, similar to assemblies.
87+
This option is useful if you need to create a language or alter an existing language (and have the required permissions to do so), but the file system on the server is restricted and you cannot copy the library files to a location that the server can access.
8688

8789
**external_lang_file_name**
8890

8991
Name of the extension .dll or .so file. This is required to identify the correct file, in cases where there are several .dll or .so files in the <external_lang_specifier> .zip or tar.gz.
9092

9193
**external_lang_parameters**
9294

93-
This provides a possibility to give a set of parameters to the external language runtime.
95+
This provides a possibility to give a set of parameters to the external language runtime. Parameter values are provided to the external runtime after the external process has started. Environment variables however, are accessible to the language extension prior to the external process startup.
9496

9597
**external_lang_env_variables**
9698

97-
This provides a possibility to give a set of environment variables to the external language runtime. One of these properties can be the path to the home of the runtime. For example Java home.
99+
This provides a possibility to give a set of environment variables to the external language runtime prior to the external process startup. An example of an environment variable is for example the home directory of the runtime itself. For example: JRE_HOME.
98100

99101
**platform**
100102

‎docs/t-sql/statements/create-external-language-transact-sql.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: CREATE EXTERNAL LANGUAGE (Transact-SQL) - SQL Server | Microsoft Docs
33
ms.custom:
4-
ms.date: 05/16/2019
4+
ms.date: 05/17/2019
55
ms.prod: sql
66
ms.reviewer: ""
77
ms.technology: t-sql
@@ -84,7 +84,7 @@ The full file path to the .zip or tar.gz file containing the extensions code. Th
8484

8585
**content_bits**
8686

87-
Specifies the content of the languagee as a hex literal, similar to assemblies.
87+
Specifies the content of the language as a hex literal, similar to assemblies.
8888
This option is useful if you need to create a language or alter an existing language (and have the required permissions to do so), but the file system on the server is restricted and you cannot copy the library files to a location that the server can access.
8989

9090
**external_lang_file_name**
@@ -93,11 +93,11 @@ Name of the extension .dll or .so file. This is required to identify the correct
9393

9494
**external_lang_parameters**
9595

96-
This provides a possibility to give a set of parameters to the external language runtime.
96+
This provides a possibility to give a set of parameters to the external language runtime. Parameter values are provided to the external runtime after the external process has started. Environment variables however, are accessible to the language extension prior to the external process startup.
9797

9898
**external_lang_env_variables**
9999

100-
This provides a possibility to give a set of environment variables to the external language runtime. One of these properties can be the path to the home of the runtime. For example Java home.
100+
This provides a possibility to give a set of environment variables to the external language runtime prior to the external process startup. An example of an environment variable is for example the home directory of the runtime itself. For example: JRE_HOME.
101101

102102
**platform**
103103

0 commit comments

Comments
 (0)