Getting Started with SQL Server 2017 - Installation
IntroductionSQL Server 2017 has not been officially released yet, but you can start evaluating it with the Community Technical Preview (CTP). This post will describe how to download and install it.
DownloadBefore starting the SQL Server installation process it is a good idea to close any other programs, so the install is not competing with other programs. Also, you will likely need to reboot at the end of the installation anyway.
To get started, head over to https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2017-ctp/. You will then need sign in with your Windows Live account. Once you are signed in, you will also need to register and set your communications preferences.
Once you've registered, you will be given a choice of ISO or CAB file type. I'll go with ISO. The next choice is Product Language, and I will choose English. Your browser will then let you download a 1.68 GB file, SQLServerVnextCTP2.0-x64-ENU.iso. I will save that to my C:\Installs folder.
Once it is downloaded, navigate to your C:\Installs folder, right-click on file and select "Mount as a Virtual Drive", and select a drive letter. I chose S: for SQL.
Pre-Install ChecksNow that the disc is mounted, navigate to the S: drive and run setup.exe.
From the Planning Section, it is a good idea to the run the System Configuration Checker. This will check that you are an Admin on the machine, that the computer is not pending a restart, etc. If you have installed SQL Server before, it appears to be the same checks as usual. Click OK once the checks are done.
If you are upgrading from a prior version of SQL Server, click Download Upgrade Advisor. The Upgrade Advisor has been renamed to the Data Migration Assistant. Once it is installed, check the "Launch Microsoft Data Migration Assistant" checkbox and click on Finish.
I'll leave you on your own to further explore the Data Migration Assistant.
To start the Installation, click Installation and then click "New SQL Server stand-alone installation or add features to an existing installation". Since Developer Edition is now free, and has the full set of features, and unlike Evaluation does not have an expiration, choose Developer. Click Next until you get to Feature Selection.
Since I am interested in exploring the new Machine Learning capabilities, I will select both R and Python in addition the database engine. I am also selecting Integration Services and Documentation Viewer.
For service accounts, I'll go with the defaults, but check the "Grant Perform Volume Maintenance Task privilege to the SQL Server Database Engine Service" checkbox. This option provides a performance boost by avoiding completely clearing files.
For Server Configuration, I'll go with the default of "Windows authentication mode" and click on the Add Current User button so my account will have access. I will leave the Data Directories, TempDB, and FILESTREAM tabs with their defaults settings, and then click Next.
Click Accept and then Next on the following screens to accept the R and Python licenses.
Finally, click Install and the actual installation will begin. On my desktop it took about 15 minutes for the installation to run. A dialog indicating Computer Restart required then appeared.
Confirming InstallationIf you don't already have SQL Server Management Studio, you can click on "Install SQL Server Mangement Tools" from the Installation section of the SQL Server setup. Or, just go directly to https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms to download it.
In SQL Server Management Studio connect to the your SQL Server by entering <your computer name>\sql2017 as the Server name and specifying Windows Authentication. Click New Query and enter:
Click F5 to run it and you should see a result of:
Microsoft SQL Server vNext (CTP2.0) - 14.0.500.272 (X64) Apr 13 2017 11:44:40 Copyright (C) 2017 Microsoft Corporation. All rights reserved. Developer Edition (64-bit) on Windows 10 Home 10.0 <X64> (Build 15063: )