Skip to content

Commit 334f1fd

Browse files
authored
initial commit of setup.sql
1 parent 3d00ebd commit 334f1fd

File tree

1 file changed

+15
-0
lines changed
  • samples/features/machine-learning-services/python/getting-started/bike-sharing prediction

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

0 commit comments

Comments
 (0)