@language: This specifies which language will be used in the external procedure. For SQL Server 2016, the R language is available and with SQL Server 2017 Python is available. The argument is of the sysname build-in data type and has a limit of 128 Unicode characters. This is why we use N in front of the value, to denote the nvarchar type.
@script: Native R or Python code is passed with this argument to the Launchpad service. This external code (external to SQL Server) must be validated and properly formatted (only in the case of Python), since SSMS or RTVS will not validate this argument. Therefore, the easiest way to do this is to use Visual Studio and validate your R code in RTVS or your Python code with Python Tools for Visual ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.