Skip to content

Commit c82bc42

Browse files
Updating readmes
1 parent d39b4f2 commit c82bc42

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

Python/ReadmePy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To run the scripts, it requires the following:
2323
* SQL server 2017 with RevoscalePy (version 9.2) and MicrosoftML (version 1.5.0) installed and configured;
2424
* The SQL user name and password;
2525
* SQL Database for which the user has write permission;
26-
* For more information about SQL server 2017 and Python service, please visit: https://msdn.microsoft.com/en-us/library/mt604847.aspx
26+
* For more information about SQL server 2017 and Python service, please visit: https://docs.microsoft.com/en-us/sql/advanced-analytics/what-s-new-in-sql-server-machine-learning-services
2727

2828
The file "modeling_main.py" enables the user to define the input and perform all the steps. Inputs are: paths to the raw data files, database name, server name, username and password.
2929
The database is created if not already existing, and the connection string as well as the SQL compute context are defined.

R/ReadmeR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To run the scripts, it requires the following:
2323
* SQL server 2017 with RevoscaleR (version 9.2) and MicrosoftML (version 1.4.0) installed and configured;
2424
* The SQL user name and password;
2525
* SQL Database for which the user has write permission;
26-
* For more information about SQL server 2017 and R service, please visit: https://msdn.microsoft.com/en-us/library/mt604847.aspx
26+
* For more information about SQL server 2017 and R service, please visit: https://docs.microsoft.com/en-us/sql/advanced-analytics/what-s-new-in-sql-server-machine-learning-services
2727

2828
The file "modeling_main.R" enables the user to define the input and perform all the steps. Inputs are: paths to the raw data files, database name, server name, username and password.
2929
The database is created if not already existing, and the connection string as well as the SQL compute context are defined.
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
-- Thus script enables mixed authentication on SQL Server, creates a user 'rdemo' with password 'D@tascience2016' and gives them the orrec permissions
1+
-- This script enables mixed authentication on SQL Server, creates a user 'rdemo' with password 'D@tascience2016' and gives them the orrec permissions
22

33
-- Pre-requisites:
44
-- 1) You should connect to the database in the SQL Server of the DSVM with:
55
-- Server Name: localhost
66
-- Integrated authentication is used
77

8-
DECLARE @User varchar;
9-
DECLARE @Password varchar;
8+
DECLARE @User varchar(50);
9+
DECLARE @Password varchar(50);
1010

1111
-- Set default username and password. Change these values to use different username and password
12-
SET @User = "rdemo"
13-
SET @Password = "D@atascience2016"
12+
SET @User = 'rdemo'
13+
SET @Password = 'D@atascience2016'
1414

1515
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2
16-
CREATE LOGIN @User WITH PASSWORD=@Password, DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
17-
ALTER SERVER ROLE [sysadmin] ADD MEMBER @User
16+
DECLARE @sqlstmt varchar(200)
17+
SET @sqlstmt = 'CREATE LOGIN ' + @User + ' WITH PASSWORD='''+@Password+''', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF'
18+
EXEC (@sqlstmt)
19+
SET @sqlstmt = 'ALTER SERVER ROLE [sysadmin] ADD MEMBER '+@User
20+
EXEC(@sqlstmt)
1821
EXEC sp_configure 'external scripts enabled', 1
1922
RECONFIGURE WITH OVERRIDE
20-
2123
GO

SQLPy/ReadmeSQLPy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To run the scripts, it requires the following:
2525
* The SQL user name and password, and the user is configured properly to execute Python scripts in-memory (see [create_user.sql](..\Resources\ActionScripts\create_user.sql)).
2626
* SQL Database for which the user has write permission and can execute stored procedures (see [create_user.sql](..\Resources\ActionScripts\create_user.sql)).
2727
* Implied authentication is enabled so a connection string can be automatically created in R codes embedded into SQL Stored Procedures.
28-
* For more information about SQL server 2016 and R service, please visit: https://msdn.microsoft.com/en-us/library/mt604847.aspx
28+
* For more information about SQL server 2016 and R service, please visit: https://docs.microsoft.com/en-us/sql/advanced-analytics/what-s-new-in-sql-server-machine-learning-services
2929

3030

3131
### Workflow Automation

SQLR/ReadmeSQLR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To run the scripts, it requires the following:
2525
* The SQL user name and password, and the user is configured properly to execute R scripts in-memory (see [create_user.sql](..\Resources\ActionScripts\create_user.sql)).
2626
* SQL Database for which the user has write permission and can execute stored procedures (see [create_user.sql](..\Resources\ActionScripts\create_user.sql)).
2727
* Implied authentication is enabled so a connection string can be automatically created in R codes embedded into SQL Stored Procedures.
28-
* For more information about SQL server 2016 and R service, please visit: https://msdn.microsoft.com/en-us/library/mt604847.aspx
28+
* For more information about SQL server 2016 and R service, please visit: https://docs.microsoft.com/en-us/sql/advanced-analytics/what-s-new-in-sql-server-machine-learning-services
2929

3030

3131
### Workflow Automation

0 commit comments

Comments
 (0)