You are on page 1of 25

Module 1

An Introduction to Database
Development
Module Overview

• Introduction to the SQL Server Platform


• Working with SQL Server Tools
• Configuring SQL Server Services
Lesson 1: Introduction to the SQL Server
Platform

• SQL Server Architecture


• SQL Server Components
• SQL Server Instances
• SQL Server Editions
• SQL Server Versions
SQL Server Architecture

• Complete set of enterprise-ready technologies


and tools
• More than a simple relational database management
system
• Manage organizational data
• Derive value from information within the data
• High performance
• Secure
• Scalable

• Low total cost of ownership


• Highly integrated platform
• Productive management and development tools
SQL Server Components

• SQL Server is not just a database engine


• SQL Server includes the following components:

SQL Server Components


Database Engine Analysis Services
Integration Services Reporting Services
Master Data Services Microsoft
StreamInsight™
Data Mining Full-Text Search
PowerPivot Replication
Data Quality Services Power View
SQL Server Instances

• Many SQL Server components are instance-aware:


• Database Engine/Data Quality Services
• Analysis Services/Data Mining
• Reporting Services/Integration Services

• Instances allow for the isolation of:


• Administration and security configuration
• Performance and service level agreements
• Versions and collations

• Instances can assist with upgrade scenarios


• There are two instance types:
• Default instance
• Named instances
SQL Server Editions

• Premium Editions
• Enterprise
• Parallel Data Warehouse

• Core Editions
• Standard
• Business Intelligence

• Other Editions
• SQL Azure
• Developer
• Express
• Compact
• Web
SQL Server Versions

Version Release year


1.0 1989
1.1 1991
4.2 1992
4.21 1994
6.0 1995
6.5 1996
7.0 1998
2000 2000
2005 2005
2008 2008
2008 R2 2010
2012 2012
2014 2014
Lesson 2: Working with SQL Server Tools

• Connecting from Clients and Applications


• Software Layers for Connections
• SQL Server Management Studio
• SQL Server Data Tools
• Demonstration: Using SQL Server Management
Studio
Connecting from Clients and Applications

• Client applications and tools connect via protocols


to endpoints
• TDS
• SQL Server Native Client (SNAC)
• Transported by TCP/IP, Named Pipes, or Shared Memory

• Users (or the applications) must be authenticated


by SQL Server
• Windows logins
• Windows groups
• SQL Server logins

• Connection is made to a server and a database


• Can be the name of the server for the default instance
• Can be a named instance
Software Layers for Connections

Client Server

OLEDB ODBC
Endpoints

TDS
SNAC
Relational

SQL OS
Engine
Network
Libraries Storage
Engine
SQL Server Management Studio

• Integrated environment for working with SQL


Server
• Querying data
• Configuring servers
• Managing servers
• Administering databases

• Graphical tools for working with many SQL Server


components
• Connect to Database Engine, Analysis Services,
Reporting Services, Integration Services, and SQL Server
Compact
• Project system with rich script editors
• Scripts to automate common tasks and deployment
SQL Server Data Tools

• SQL Server Data Tools enables SQL Server


development within Visual Studio
• SQL Server Data Tools can be used to administer
both on-premises and cloud-based databases
Demonstration: Using SQL Server Management
Studio

In this demonstration, you will see how to:


• Use SSMS to connect to an on-premises instance
of SQL Server 2014
• Run a T-SQL script
• Open a SQL Server Management Studio project
• Connect to servers and databases
• Register servers
Lesson 3: Configuring SQL Server Services

• SQL Server Configuration Manager


• SQL Server Services
• Network Ports and Listeners
• Creating Server Aliases
• Other SQL Server Tools
• Demonstration: Using SQL Server Profiler
SQL Server Configuration Manager

• Manages services associated with SQL Server


• Manages network protocols and ports exposed by
SQL Server
• Manages network protocols and ports used by
client applications on the server when connecting
to the same or other servers
SQL Server Services

• Many SQL Server components provide operating


system services
• Instance-aware components provide a service per
instance
• Services have identities within Windows
• Avoid excessive privileges
• Services can be configured to auto-start
Network Ports and Listeners

• Each protocol has configurable properties


• Server and client configurations are available
Creating Server Aliases

• Aliases can be used as an abstraction for a client


• Server name
• Protocol
• Port or network configuration

• Multiple aliases can point to the same server


Other SQL Server Tools

• SQL Server Profiler


• Database Engine Tuning Advisor
• Reporting Services Configuration Manager
• Data Quality Services Client
• SQL Server Error and Usage Reporting
• PowerShell Provider
• SQL Server Management Objects (SMO)
Demonstration: Using SQL Server Profiler

In this demonstration, you will see how to:


• Start a SQL Server Profiler trace
• View a SQL Server Profiler trace
Lab: Introduction to Database Development

• Exercise 1: Start SQL Server Management Studio


• Exercise 2: Configure SQL Server

Logon Information
Virtual machine: 20464C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa$$w0rd

Estimated Time: 30 minutes


Lab Scenario

You have just moved to the database


development team and need to investigate the
tools that are available to help you perform your
role.
Lab Review

• How can you configure SQL Server to use a


different IP port?
Module Review and Takeaways

• Review Question(s)

You might also like