Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Assumptions ............................................................................................................................................ 2
Links ......................................................................................................................................................... 2
Setup........................................................................................................................................................ 2
Installation ............................................................................................................................................... 3
Selecting Features ................................................................................................................................... 4
The First Named Instance Creation ......................................................................................................... 6
Accounts .................................................................................................................................................. 7
Data Directories....................................................................................................................................... 7
Connecting the Database Instance.......................................................................................................... 9
Creating Another Instance .................................................................................................................... 11
The Second Named Instance Creation .................................................................................................. 13
Accounts ................................................................................................................................................ 14
Data Directories..................................................................................................................................... 15
Connecting The Database Instance ....................................................................................................... 16
Creating Database ................................................................................................................................. 17
SQL Server Tools .................................................................................................................................... 18
Instance Parameters.............................................................................................................................. 18
Adding Features To An Existing Instance .............................................................................................. 19
Assumptions
Links
http://www.microsoft.com/en-us/download/details.aspx?id=11093
Download a copy of SQL Server 2008 R2 Server or any latest version
http://technet.microsoft.com/en-us/sqlserver/jj901638
Setup
.NET 3.5 is the prerequisite. Below you can see .NET 4 is already installed, but the installer
checks for the presence of 3.5 and it gets installed
Below are the minimum drives configured already. If the complete installation is done on
single drive, say C, it is called an installation but not a good installation. It is still a good thing
to create separate folders for data files and logs if you have just one drive.
Installation
Installation is started by double-clicking on the "Setup" (the one with a green color)
The installer installs .NET 3.5 SP1 for you
Selecting Features
If you select all the features you are wasting space and memory. The next screen shows the
major features relevant to Database Engine. If any additional features are needed then it is
possible to install them later as per the need
If you wish to hold one directory for all the instances then create a directory
I do not want to go with default and created a name that I like. All my SQL Server instances
will be saved in a single directory called "instances". Each sub folder belongs to a certain
instance. See the SQL Server Directory path that is highlighted
Accounts
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used
Data Directories
Just edit the path where you want to store the relevant data
The installer creates the directories for you. Just give a name
The below screen shows how I did
Individual directories named. The installer creates the directories for you
Navigate to see what are the basic System Databases created by SQL Server
Open the below highlighted one and set the path to the software that is SQL Server Software
It is the same step that was performed for the initial instance creation
It shows below what instances are already available
The below screen shows the already installed features and available are not highlighted
Accounts
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used
Data Directories
Just edit the path where you want to store the relevant data
The installer creates the directories for you. Just give a name
The below screen shows how I did
Individual directories named. The installer creates the directories for you
Creating Database
Right click on Database and go with "new database" to create a fresh new database
SQL Server Community provides prebuilt Database and the files are available with MDF . So,
in case you want to attach such Database the "Attach" option should be selected. The below
screen shows it
The highlighted ones in yellow color are the tools that we often work with
Instance Parameters
The additional features can be Analysis Service or SQL Server Business Intelligence Studio or
Integration Service etc.
With selecting the below one that is highlighted you can add a feature
In my case I selected the "EUR2070" Instance
Let's say, for example, Business Intelligence Studio and Integration Services are needed for
this instance. Select them as shown below
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used