Java language extensions
SQL Server 2016 introduced an extensibility framework for running external scripts such as R and Python.
This extensibility framework is exposed using the sp_execute_external_script
system stored procedure. SQL Server 2019 supports Java on both Windows and Linux.
The windows installation will is covered in this book and here: https://docs.microsoft.com/en-us/sql/language-extensions/install/install-sql-server-language-extensions-on-windows?view=sqlallproducts-allversions#java-jre-jdk
Linux installation instructions can be found at https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-language-extensions?view=sqlallproducts-allversions
Why language extensions?
Language extensions allow you to extend SQL Server to use external code as part of SQL operations. Writing complex procedures in high-level languages such as Java, Python, and R can be much easier and more straightforward to test.
Starting with SQL Server 2005, there was...