File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
samples/features/machine-learning-services/python/getting-started/bike-sharing prediction Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ -- Before we start, we need to restore the database
2
+ -- Step1: Download the compressed backup file (url)
3
+ -- Save the file on a location where SQL Server can access it. For example: C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Backup\
4
+
5
+ -- In a new query window in SSMS, execute the following restore statement, but REMEMBER TO CHANGE THE FILE PATHS
6
+ -- to match the directories of your installation!
7
+
8
+ USE master ;
9
+ GO
10
+ RESTORE DATABASE velibDB
11
+ FROM DISK = ' C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\Backup\velibDB.bak'
12
+ WITH
13
+ MOVE ' velibDB' TO ' C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\velibDB.mdf'
14
+ ,MOVE ' velibDB_log' TO ' C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\velibDB.ldf' ;
15
+ GO
You can’t perform that action at this time.
0 commit comments