From 15c5077852cef4420e1ee4c430339b13ba378ace Mon Sep 17 00:00:00 2001 From: HMuhammad Date: Thu, 25 Oct 2018 18:52:48 -0400 Subject: [PATCH 1/2] Update what-is-sql-server-machine-learning.md Sentence was "Script execution is within the boundaries of the data security model: permissions on the relational database are the basis of data access in your script." Changed to "Script execution is within the boundaries of the data security model. Permissions on the relational database are the basis of data access in your script." Improper use of a colon --- .../advanced-analytics/what-is-sql-server-machine-learning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced-analytics/what-is-sql-server-machine-learning.md b/docs/advanced-analytics/what-is-sql-server-machine-learning.md index 85079bd3649..e24363293d3 100644 --- a/docs/advanced-analytics/what-is-sql-server-machine-learning.md +++ b/docs/advanced-analytics/what-is-sql-server-machine-learning.md @@ -40,7 +40,7 @@ SQL Server 2017 supports R and Python. The following table describes the compone Developers and analysts often have code running on top of a local SQL Server instance. By adding Machine Learning Services and enabling external script execution, you gain the ability to run R and Python code in SQL Server modalities: wrapping script in stored procedures, storing models in a SQL Server table, or combining T-SQL and R or Python functions in queries. -Script execution is within the boundaries of the data security model: permissions on the relational database are the basis of data access in your script. A user running R or Python script should not be able to use any data that could not be accessed by that user in a SQL query. You need the standard database read and write permissions, plus an additional permission to run external script. Models and code that you write for relational data are wrapped in stored procedures, or serialized to a binary format and stored in a table, or loaded from disk if you serialized the raw byte stream to a file. +Script execution is within the boundaries of the data security model. Permissions on the relational database are the basis of data access in your script. A user running R or Python script should not be able to use any data that could not be accessed by that user in a SQL query. You need the standard database read and write permissions, plus an additional permission to run external script. Models and code that you write for relational data are wrapped in stored procedures, or serialized to a binary format and stored in a table, or loaded from disk if you serialized the raw byte stream to a file. The most common approach for in-database analytics is to use [sp_execute_external_script](../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md), passing R or Python script as an input parameter. @@ -134,4 +134,4 @@ On Azure, Microsoft's R and Python packages and interpreters are also available ## See also -[Install SQL Server Machine Learning Services](install/sql-machine-learning-services-windows-install.md) \ No newline at end of file +[Install SQL Server Machine Learning Services](install/sql-machine-learning-services-windows-install.md) From 72773cfb650738f6bacf548d3ec01eb0c5e2fe09 Mon Sep 17 00:00:00 2001 From: HMuhammad Date: Thu, 25 Oct 2018 18:57:27 -0400 Subject: [PATCH 2/2] Update what-is-sql-server-machine-learning.md Sentence read - "Models and code that you write for relational data are wrapped in stored procedures, or serialized to a binary format and stored in a table, or loaded from disk if you serialized the raw byte stream to a file." Changed to "Models and code that you write for relational data are handled 1 of 3 ways: 1- They are wrapped in stored procedures. 2- They are serialized to a binary format and stored in a table. 3- They are loaded from disk if you serialized the raw byte stream to a file. --- docs/advanced-analytics/what-is-sql-server-machine-learning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-analytics/what-is-sql-server-machine-learning.md b/docs/advanced-analytics/what-is-sql-server-machine-learning.md index e24363293d3..5d33d8e06ec 100644 --- a/docs/advanced-analytics/what-is-sql-server-machine-learning.md +++ b/docs/advanced-analytics/what-is-sql-server-machine-learning.md @@ -40,7 +40,7 @@ SQL Server 2017 supports R and Python. The following table describes the compone Developers and analysts often have code running on top of a local SQL Server instance. By adding Machine Learning Services and enabling external script execution, you gain the ability to run R and Python code in SQL Server modalities: wrapping script in stored procedures, storing models in a SQL Server table, or combining T-SQL and R or Python functions in queries. -Script execution is within the boundaries of the data security model. Permissions on the relational database are the basis of data access in your script. A user running R or Python script should not be able to use any data that could not be accessed by that user in a SQL query. You need the standard database read and write permissions, plus an additional permission to run external script. Models and code that you write for relational data are wrapped in stored procedures, or serialized to a binary format and stored in a table, or loaded from disk if you serialized the raw byte stream to a file. +Script execution is within the boundaries of the data security model. Permissions on the relational database are the basis of data access in your script. A user running R or Python script should not be able to use any data that could not be accessed by that user in a SQL query. You need the standard database read and write permissions, plus an additional permission to run external script. Models and code that you write for relational data are handled 1 of 3 ways: 1) They are wrapped in stored procedures. 2) They are serialized to a binary format and stored in a table.3) They are loaded from disk if you serialized the raw byte stream to a file. The most common approach for in-database analytics is to use [sp_execute_external_script](../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md), passing R or Python script as an input parameter.