SlideShare a Scribd company logo
R2
 Create Service Accounts
 Install a SQL Server 2008
 Understand Collation Sequences
 Understand Authentication Modes
 Install Sample Databases
 Configure a SQL Server Instance
Service Accounts
 All the core SQL Server components run as services.
 To configure each component properly, you need to create several service
accounts prior to installation.
 You need dedicated service accounts for the following components:
 Database Engine
 SQL Server Agent
 The SQL Server service is still running within the security framework provided
by Windows.
 The SQL Server engine requires access to many resources on a computer, such
as memory, processors, disk space, and networking.
 SQL Server is able to access only the Windows resources for which the service
account has been granted permissions.
Click Start, right-click
My Computer, and
select Manage.
 Expand Local Users And
Groups and select Users.
 Right-click in the right-hand
pane and select New User.
Creating Service Accounts
Specify your user name
in the User Name field
Write password
clear Check Box
select the Password Never
Expires check box.
SQLAgent
SQLAnalysis
SQLEngine
SQLIntegeration
SQLReporting
Collation Sequences
 Collation Sequences control how SQL Server treats character data for storage,
retrieval, sorting, and comparison operations.
 SQL Server 2008 allows you to specify a collation sequence to support any
language currently used around the world.
 Collation sequences can be specified at the instance, database, table, and
column levels.
 A collation sequence defines the character set that is supported, including
case sensitivity, accent sensitivity, and kana sensitivity.
For example: IF you use the collation sequence of SQL_Latin1_General_CP1_CI_AI,
you get support for a Western European character set that is case-insensitive and accent-
insensitive.
SQL_Latin1_General_CP1_CI_AI treats e, E, è, é, ê, and ë as the same character for sorting and
comparison operations, whereas a case-sensitive (CS), accent-sensitive (AS) French collation
sequence treats each as a different character.
Authentication Modes
 You can set the authentication mode for SQL Server to either:
 Windows Only (Integrated Security)
 Windows and SQL Server (Mixed Mode)
 When SQL Server is configured with Windows-only authentication, you can use
only Windows accounts to log in to the SQL Server instance.
 When SQL Server is configured in mixed mode, you can use either Windows
accounts or SQL Server–created accounts to log in to the SQL Server instance.
SQL Server instances
 SQL Server instances define the container for all operations you perform
within SQL Server.
 Each instance contains its own set of databases, security credentials,
configuration settings, Windows services, and other SQL Server objects.
 SQL Server 2008 R2 supports the installation of up to 50 instances on SQL
Server on a single machine.
 You can install one instance as the default instance along with up to 49
additional named instances, or you can install 50 named instances with no
default.
 When connecting to a named instance, you use the combination of the
machine name and instance name, such as <machinename><instancename>.
SQL Server instances (Continue…)
The primary reasons for installing more than one instance of SQL Server
on a single machine are:
 You need instances for quality assurance testing or development.
 You need to support multiple service pack or patch levels.
 You have different groups of administrators who are allowed to access
only a subset of databases within your organization.
 You need to support multiple sets of SQL Server configuration options.
SQL Server Configuration Manager
 SQL Server Configuration Manager is responsible for managing SQL Server
services and protocols.
 The primary tasks that you will perform are:
 Starting, stopping, pausing, and restarting a service
 Changing service accounts and service account passwords
 Managing the start-up mode of a service
 Configuring service start-up parameters
 You will need to know how collation sequences affect the way SQL
Server stores and handles character data.
 Allows you to configure the communications protocols available to client
connections.
 You can control whether communications are required to be encrypted
or whether an instance responds to an enumeration request.
 SQL Server Configuration Manager is used to manage any SQL Server services.
SQL Server Configuration Manager
Configuring Database Mail
 Database Mail provides a notification capability to SQL Server
instances.
 Database Mail enables a computer running SQL Server to send
outbound mail messages.
 Messages can contain the results of queries.
 Database Mail is primarily used to send alert messages to
administrators to notify them of performance conditions or
changes that have been made to objects.
 Database Mail uses the Simple Mail Transfer Protocol (SMTP)
relay service that is available on all Windows machines to
transmit mail messages.
 Database Mail utilizes the services of SQL Server Agent to send
messages as a background process.
 When a mail send is initiated, the message along with all of the
message properties is logged into a table in the MSDB database.
 If SQL Server Agent is not running , messages will accumulate in
a queue within the MSDB database.
 Mail accounts define all the properties associated to a
specific e-mail account such as e-mail address, reply to e-mail
address, mail server name, port number, and authentication
credentials.
Configuring Database Mail (Continue...)
Configuring Database Mail (Continue...)
 Profiles form the core element within Database Mail.
 Database Mail uses mail profiles which can contain one or more
mail accounts.
 Mail profiles can be configured as either public or private.
 A public profile can be accessed by any user with the ability
to send mail.
 A private profile can be accessed only by those users who
have been granted access to the mail profile explicitly.
 You can designate a mail profile to be the default.
 If a mail profile is not specified, SQL Server uses the mail profile
designated as the default to send the message.
Review
1- Ali has implemented a new policy that requires the passwords on all
service accounts to be changed every 30 days. Which tool should the
Ali database administrators use to change the service account
passwords so that SQL Server services comply with the new policy?
A. Windows Service Control applet.
B. SQL Server Management Studio.
C. SQL Server Configuration Manager.
D. SQL Server Surface Area Configuration Manager.
2- As part of the implementation of the new Web-based booking system at
Margie’s Travel, customers should receive notices when a travel booking has
been successfully saved. What technologies or features can the developers at
Margie’s Travel use to implement notifications? (Choose all that apply.)
A. Notification Services
B. Database Mail
C. Microsoft Visual Studio.NET code libraries
D. Activity Monitor
3- The developers at Margie’s Travel have decided to utilize Database
Mail to send messages to their customers. The ability to send mail
messages through a given profile needs to be restricted, but it must
not require an approved user to specify a mail profile when sending
messages. What settings need to be configured to meet these
requirements? (Choose all that apply.)
A. Set the mail profile to public.
B. Set the mail profile to private.
C. Set the mail profile to private and grant access to approved users.
D. Designate the mail profile as the default.
Review (Continue…)
Answers
1- Correct Answer: C
A. Incorrect: Although the Windows Service Control applet can be used to
change service account passwords, you should not use this utility. Only
the SQL Server Configuration Manager has the code to decrypt and re-
encrypt the service master key used by SQL Server services correctly
when the service account or password is changed.
B. Incorrect: SQL Server Management Studio cannot be used to change
service account passwords.
C. Correct: Only the SQL Server Configuration Manager has the code to
decrypt and re-encrypt the service master key used by SQL Server
services correctly when the service account or password is changed.
D. Incorrect: SQL Server Surface Area Configuration Manager was a utility
that existed in SQL Server 2005 and was removed in SQL Server 2008
in favor of making configuration changes directly using the sp_configure
system stored procedure.
Answers (Continues….)
2- Correct Answers: B and C
A. Incorrect: Notification Services is a feature that was available with SQL
Server 2005 that is no longer available in SQL Server 2008.
B. Correct: Database Mail can be used to send messages to customers.
C. Correct: A Visual Studio .NET application can be created to use the mail
libraries available within the .NET Framework.
D. Incorrect: Activity Monitor is a feature of SSMS that displays query activity
on the server; it cannot be used to send messages.
3. Correct Answers: C and D
A. Incorrect: A public profile can be accessed by anyone with the authority to send
mail, which violates the security requirements.
B. Incorrect: Although configuring a mail profile as private will restrict access, the profile
cannot be used unless a user has been granted access to the profile.
C. Correct: You need to configure the mail profile to be private along with granting
access to the mail profile for approved users.
D. Correct: Designating a mail profile as the default allows approved users to send mail
using the profile without the need to specify the profile explicitly.
Sql server lesson2

More Related Content

What's hot

Juan ignacio mazza - cv (english)
Juan ignacio mazza - cv (english)Juan ignacio mazza - cv (english)
Juan ignacio mazza - cv (english)
JuanMazza
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
LiquidHub
 
Microsoft mobile services
Microsoft mobile servicesMicrosoft mobile services
Microsoft mobile services
Maksym Davydov
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
LiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
LiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
LiquidHub
 
Material modulo04 asf6501(6425-a_01)
Material   modulo04 asf6501(6425-a_01)Material   modulo04 asf6501(6425-a_01)
Material modulo04 asf6501(6425-a_01)
JSantanderQ
 
Material modulo03 asf6501(6425-b_02)
Material   modulo03 asf6501(6425-b_02)Material   modulo03 asf6501(6425-b_02)
Material modulo03 asf6501(6425-b_02)
JSantanderQ
 
Material modulo01 asf6501(6419-a_01)
Material   modulo01 asf6501(6419-a_01)Material   modulo01 asf6501(6419-a_01)
Material modulo01 asf6501(6419-a_01)
JSantanderQ
 
Cs 7.2 fundamentals
Cs 7.2 fundamentalsCs 7.2 fundamentals
Cs 7.2 fundamentals
Eswar Eluri
 
Srs example(1)
Srs example(1)Srs example(1)
Srs example(1)
zozila
 
Material modulo02 asf6501(6425-b_01)
Material   modulo02 asf6501(6425-b_01)Material   modulo02 asf6501(6425-b_01)
Material modulo02 asf6501(6425-b_01)
JSantanderQ
 
MailRetriever for DPM: Quick Start Guide
MailRetriever for DPM: Quick Start GuideMailRetriever for DPM: Quick Start Guide
MailRetriever for DPM: Quick Start Guide
MailRetriever
 
Android Study Jam 2
Android Study Jam 2Android Study Jam 2
Android Study Jam 2
DSC GVP
 
Sq lite manager
Sq lite managerSq lite manager
Sq lite manager
Aravindharamanan S
 
Readme
ReadmeReadme
Windows server 2012 - installing active directory domain server
Windows server 2012 - installing active directory domain serverWindows server 2012 - installing active directory domain server
Windows server 2012 - installing active directory domain server
ahmadbahaj
 

What's hot (17)

Juan ignacio mazza - cv (english)
Juan ignacio mazza - cv (english)Juan ignacio mazza - cv (english)
Juan ignacio mazza - cv (english)
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Microsoft mobile services
Microsoft mobile servicesMicrosoft mobile services
Microsoft mobile services
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
Material modulo04 asf6501(6425-a_01)
Material   modulo04 asf6501(6425-a_01)Material   modulo04 asf6501(6425-a_01)
Material modulo04 asf6501(6425-a_01)
 
Material modulo03 asf6501(6425-b_02)
Material   modulo03 asf6501(6425-b_02)Material   modulo03 asf6501(6425-b_02)
Material modulo03 asf6501(6425-b_02)
 
Material modulo01 asf6501(6419-a_01)
Material   modulo01 asf6501(6419-a_01)Material   modulo01 asf6501(6419-a_01)
Material modulo01 asf6501(6419-a_01)
 
Cs 7.2 fundamentals
Cs 7.2 fundamentalsCs 7.2 fundamentals
Cs 7.2 fundamentals
 
Srs example(1)
Srs example(1)Srs example(1)
Srs example(1)
 
Material modulo02 asf6501(6425-b_01)
Material   modulo02 asf6501(6425-b_01)Material   modulo02 asf6501(6425-b_01)
Material modulo02 asf6501(6425-b_01)
 
MailRetriever for DPM: Quick Start Guide
MailRetriever for DPM: Quick Start GuideMailRetriever for DPM: Quick Start Guide
MailRetriever for DPM: Quick Start Guide
 
Android Study Jam 2
Android Study Jam 2Android Study Jam 2
Android Study Jam 2
 
Sq lite manager
Sq lite managerSq lite manager
Sq lite manager
 
Readme
ReadmeReadme
Readme
 
Windows server 2012 - installing active directory domain server
Windows server 2012 - installing active directory domain serverWindows server 2012 - installing active directory domain server
Windows server 2012 - installing active directory domain server
 

Similar to Sql server lesson2

Query Analyser , SQL Server Groups, Transact –SQL
Query Analyser , SQL Server Groups, Transact –SQLQuery Analyser , SQL Server Groups, Transact –SQL
Query Analyser , SQL Server Groups, Transact –SQL
Komal Batra
 
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft Private Cloud
 
Sql Sever Presentation.pptx
Sql Sever Presentation.pptxSql Sever Presentation.pptx
Sql Sever Presentation.pptx
zeeshanahmed213830
 
2. Introduction-to-MSSQL-Server.pptx
2. Introduction-to-MSSQL-Server.pptx2. Introduction-to-MSSQL-Server.pptx
2. Introduction-to-MSSQL-Server.pptx
AyobamiAdelekeMDM
 
Project Server 2010 and Sharepoint 2010 integration with BI
Project Server 2010 and Sharepoint 2010 integration with BIProject Server 2010 and Sharepoint 2010 integration with BI
Project Server 2010 and Sharepoint 2010 integration with BI
parallelminder
 
REPORT ON (1)
REPORT ON (1)REPORT ON (1)
REPORT ON (1)
Ankit Karwa
 
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
SpanishPASSVC
 
DBA Trainer RESUME
DBA Trainer RESUMEDBA Trainer RESUME
DBA Trainer RESUME
Mohammed Arif
 
SQL server part 1
SQL server  part 1SQL server  part 1
SQL server part 1
Birhanu Dagnew Sendek
 
durga_resume
durga_resumedurga_resume
durga_resume
durga p
 
NiveditaResumeDBA
NiveditaResumeDBA NiveditaResumeDBA
NiveditaResumeDBA
Nivedita Alure
 
Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1
vijayalakshmi pamireddy
 
Ssrs 2008 R2 webinar
Ssrs 2008 R2   webinarSsrs 2008 R2   webinar
Ssrs 2008 R2 webinar
Snigdha Chotani
 
Sql server configuration manager
Sql server configuration managerSql server configuration manager
Sql server configuration manager
ssuser1eca7d
 
Mohammed Arif_RESUME
Mohammed Arif_RESUMEMohammed Arif_RESUME
Mohammed Arif_RESUME
Mohammed Arif
 
Naveen CV
Naveen CVNaveen CV
Naveen CV
NaveenKumar GV
 
Resume (4)
Resume (4)Resume (4)
Resume (4)
prashanth kumar
 
Praveen Kumar Resume
Praveen Kumar ResumePraveen Kumar Resume
Praveen Kumar Resume
praveen Kothuri.Praveen
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
kaashiv1
 
Ruchika Goswami_DBA
Ruchika Goswami_DBARuchika Goswami_DBA
Ruchika Goswami_DBA
Ruchika Goswami
 

Similar to Sql server lesson2 (20)

Query Analyser , SQL Server Groups, Transact –SQL
Query Analyser , SQL Server Groups, Transact –SQLQuery Analyser , SQL Server Groups, Transact –SQL
Query Analyser , SQL Server Groups, Transact –SQL
 
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
 
Sql Sever Presentation.pptx
Sql Sever Presentation.pptxSql Sever Presentation.pptx
Sql Sever Presentation.pptx
 
2. Introduction-to-MSSQL-Server.pptx
2. Introduction-to-MSSQL-Server.pptx2. Introduction-to-MSSQL-Server.pptx
2. Introduction-to-MSSQL-Server.pptx
 
Project Server 2010 and Sharepoint 2010 integration with BI
Project Server 2010 and Sharepoint 2010 integration with BIProject Server 2010 and Sharepoint 2010 integration with BI
Project Server 2010 and Sharepoint 2010 integration with BI
 
REPORT ON (1)
REPORT ON (1)REPORT ON (1)
REPORT ON (1)
 
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
24 HOP edición Español -Diferentes técnicas de administración de logins y usu...
 
DBA Trainer RESUME
DBA Trainer RESUMEDBA Trainer RESUME
DBA Trainer RESUME
 
SQL server part 1
SQL server  part 1SQL server  part 1
SQL server part 1
 
durga_resume
durga_resumedurga_resume
durga_resume
 
NiveditaResumeDBA
NiveditaResumeDBA NiveditaResumeDBA
NiveditaResumeDBA
 
Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1Vijaya_Lakshmi_Resume1
Vijaya_Lakshmi_Resume1
 
Ssrs 2008 R2 webinar
Ssrs 2008 R2   webinarSsrs 2008 R2   webinar
Ssrs 2008 R2 webinar
 
Sql server configuration manager
Sql server configuration managerSql server configuration manager
Sql server configuration manager
 
Mohammed Arif_RESUME
Mohammed Arif_RESUMEMohammed Arif_RESUME
Mohammed Arif_RESUME
 
Naveen CV
Naveen CVNaveen CV
Naveen CV
 
Resume (4)
Resume (4)Resume (4)
Resume (4)
 
Praveen Kumar Resume
Praveen Kumar ResumePraveen Kumar Resume
Praveen Kumar Resume
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
 
Ruchika Goswami_DBA
Ruchika Goswami_DBARuchika Goswami_DBA
Ruchika Goswami_DBA
 

More from Ala Qunaibi

Sql server lesson13
Sql server lesson13Sql server lesson13
Sql server lesson13
Ala Qunaibi
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Sql server lesson11
Sql server lesson11Sql server lesson11
Sql server lesson11
Ala Qunaibi
 
Sql server lesson10
Sql server lesson10Sql server lesson10
Sql server lesson10
Ala Qunaibi
 
Sql server lesson9
Sql server lesson9Sql server lesson9
Sql server lesson9
Ala Qunaibi
 
Sql server lesson8
Sql server lesson8Sql server lesson8
Sql server lesson8
Ala Qunaibi
 
Sql server lesson7
Sql server lesson7Sql server lesson7
Sql server lesson7
Ala Qunaibi
 
Sql server lesson6
Sql server lesson6Sql server lesson6
Sql server lesson6
Ala Qunaibi
 
Sql server lesson5
Sql server lesson5Sql server lesson5
Sql server lesson5
Ala Qunaibi
 
Sql server lesson4_v2
Sql server lesson4_v2Sql server lesson4_v2
Sql server lesson4_v2
Ala Qunaibi
 
Sql server lesson3
Sql server lesson3Sql server lesson3
Sql server lesson3
Ala Qunaibi
 
Sql server lesson4
Sql server lesson4Sql server lesson4
Sql server lesson4
Ala Qunaibi
 
الفروقات الفردية بين الطلاب كيف نفهمها
الفروقات الفردية بين الطلاب  كيف نفهمهاالفروقات الفردية بين الطلاب  كيف نفهمها
الفروقات الفردية بين الطلاب كيف نفهمها
Ala Qunaibi
 
صور
صورصور
صور
Ala Qunaibi
 
حوادث السير
حوادث السير حوادث السير
حوادث السير
Ala Qunaibi
 
المجموعة الشمسية
المجموعة الشمسيةالمجموعة الشمسية
المجموعة الشمسية
Ala Qunaibi
 

More from Ala Qunaibi (17)

Sql server lesson13
Sql server lesson13Sql server lesson13
Sql server lesson13
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
 
Sql server lesson11
Sql server lesson11Sql server lesson11
Sql server lesson11
 
Sql server lesson10
Sql server lesson10Sql server lesson10
Sql server lesson10
 
Sql server lesson9
Sql server lesson9Sql server lesson9
Sql server lesson9
 
Sql server lesson8
Sql server lesson8Sql server lesson8
Sql server lesson8
 
Sql server lesson7
Sql server lesson7Sql server lesson7
Sql server lesson7
 
Sql server lesson6
Sql server lesson6Sql server lesson6
Sql server lesson6
 
Sql server lesson5
Sql server lesson5Sql server lesson5
Sql server lesson5
 
Sql server lesson4_v2
Sql server lesson4_v2Sql server lesson4_v2
Sql server lesson4_v2
 
Sql server lesson3
Sql server lesson3Sql server lesson3
Sql server lesson3
 
Sql server lesson4
Sql server lesson4Sql server lesson4
Sql server lesson4
 
الفروقات الفردية بين الطلاب كيف نفهمها
الفروقات الفردية بين الطلاب  كيف نفهمهاالفروقات الفردية بين الطلاب  كيف نفهمها
الفروقات الفردية بين الطلاب كيف نفهمها
 
صور
صورصور
صور
 
حوادث السير
حوادث السير حوادث السير
حوادث السير
 
المجموعة الشمسية
المجموعة الشمسيةالمجموعة الشمسية
المجموعة الشمسية
 

Recently uploaded

E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
Ayan Halder
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 

Recently uploaded (20)

E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Requirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional SafetyRequirement Traceability in Xen Functional Safety
Requirement Traceability in Xen Functional Safety
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 

Sql server lesson2

  • 1. R2
  • 2.  Create Service Accounts  Install a SQL Server 2008  Understand Collation Sequences  Understand Authentication Modes  Install Sample Databases  Configure a SQL Server Instance
  • 3. Service Accounts  All the core SQL Server components run as services.  To configure each component properly, you need to create several service accounts prior to installation.  You need dedicated service accounts for the following components:  Database Engine  SQL Server Agent  The SQL Server service is still running within the security framework provided by Windows.  The SQL Server engine requires access to many resources on a computer, such as memory, processors, disk space, and networking.  SQL Server is able to access only the Windows resources for which the service account has been granted permissions.
  • 4. Click Start, right-click My Computer, and select Manage.  Expand Local Users And Groups and select Users.  Right-click in the right-hand pane and select New User. Creating Service Accounts Specify your user name in the User Name field Write password clear Check Box select the Password Never Expires check box. SQLAgent SQLAnalysis SQLEngine SQLIntegeration SQLReporting
  • 5. Collation Sequences  Collation Sequences control how SQL Server treats character data for storage, retrieval, sorting, and comparison operations.  SQL Server 2008 allows you to specify a collation sequence to support any language currently used around the world.  Collation sequences can be specified at the instance, database, table, and column levels.  A collation sequence defines the character set that is supported, including case sensitivity, accent sensitivity, and kana sensitivity. For example: IF you use the collation sequence of SQL_Latin1_General_CP1_CI_AI, you get support for a Western European character set that is case-insensitive and accent- insensitive. SQL_Latin1_General_CP1_CI_AI treats e, E, è, é, ê, and ë as the same character for sorting and comparison operations, whereas a case-sensitive (CS), accent-sensitive (AS) French collation sequence treats each as a different character.
  • 6. Authentication Modes  You can set the authentication mode for SQL Server to either:  Windows Only (Integrated Security)  Windows and SQL Server (Mixed Mode)  When SQL Server is configured with Windows-only authentication, you can use only Windows accounts to log in to the SQL Server instance.  When SQL Server is configured in mixed mode, you can use either Windows accounts or SQL Server–created accounts to log in to the SQL Server instance.
  • 7. SQL Server instances  SQL Server instances define the container for all operations you perform within SQL Server.  Each instance contains its own set of databases, security credentials, configuration settings, Windows services, and other SQL Server objects.  SQL Server 2008 R2 supports the installation of up to 50 instances on SQL Server on a single machine.  You can install one instance as the default instance along with up to 49 additional named instances, or you can install 50 named instances with no default.  When connecting to a named instance, you use the combination of the machine name and instance name, such as <machinename><instancename>.
  • 8. SQL Server instances (Continue…) The primary reasons for installing more than one instance of SQL Server on a single machine are:  You need instances for quality assurance testing or development.  You need to support multiple service pack or patch levels.  You have different groups of administrators who are allowed to access only a subset of databases within your organization.  You need to support multiple sets of SQL Server configuration options.
  • 9. SQL Server Configuration Manager  SQL Server Configuration Manager is responsible for managing SQL Server services and protocols.  The primary tasks that you will perform are:  Starting, stopping, pausing, and restarting a service  Changing service accounts and service account passwords  Managing the start-up mode of a service  Configuring service start-up parameters  You will need to know how collation sequences affect the way SQL Server stores and handles character data.  Allows you to configure the communications protocols available to client connections.  You can control whether communications are required to be encrypted or whether an instance responds to an enumeration request.  SQL Server Configuration Manager is used to manage any SQL Server services.
  • 11. Configuring Database Mail  Database Mail provides a notification capability to SQL Server instances.  Database Mail enables a computer running SQL Server to send outbound mail messages.  Messages can contain the results of queries.  Database Mail is primarily used to send alert messages to administrators to notify them of performance conditions or changes that have been made to objects.  Database Mail uses the Simple Mail Transfer Protocol (SMTP) relay service that is available on all Windows machines to transmit mail messages.
  • 12.  Database Mail utilizes the services of SQL Server Agent to send messages as a background process.  When a mail send is initiated, the message along with all of the message properties is logged into a table in the MSDB database.  If SQL Server Agent is not running , messages will accumulate in a queue within the MSDB database.  Mail accounts define all the properties associated to a specific e-mail account such as e-mail address, reply to e-mail address, mail server name, port number, and authentication credentials. Configuring Database Mail (Continue...)
  • 13. Configuring Database Mail (Continue...)  Profiles form the core element within Database Mail.  Database Mail uses mail profiles which can contain one or more mail accounts.  Mail profiles can be configured as either public or private.  A public profile can be accessed by any user with the ability to send mail.  A private profile can be accessed only by those users who have been granted access to the mail profile explicitly.  You can designate a mail profile to be the default.  If a mail profile is not specified, SQL Server uses the mail profile designated as the default to send the message.
  • 14. Review 1- Ali has implemented a new policy that requires the passwords on all service accounts to be changed every 30 days. Which tool should the Ali database administrators use to change the service account passwords so that SQL Server services comply with the new policy? A. Windows Service Control applet. B. SQL Server Management Studio. C. SQL Server Configuration Manager. D. SQL Server Surface Area Configuration Manager. 2- As part of the implementation of the new Web-based booking system at Margie’s Travel, customers should receive notices when a travel booking has been successfully saved. What technologies or features can the developers at Margie’s Travel use to implement notifications? (Choose all that apply.) A. Notification Services B. Database Mail C. Microsoft Visual Studio.NET code libraries D. Activity Monitor
  • 15. 3- The developers at Margie’s Travel have decided to utilize Database Mail to send messages to their customers. The ability to send mail messages through a given profile needs to be restricted, but it must not require an approved user to specify a mail profile when sending messages. What settings need to be configured to meet these requirements? (Choose all that apply.) A. Set the mail profile to public. B. Set the mail profile to private. C. Set the mail profile to private and grant access to approved users. D. Designate the mail profile as the default. Review (Continue…)
  • 16. Answers 1- Correct Answer: C A. Incorrect: Although the Windows Service Control applet can be used to change service account passwords, you should not use this utility. Only the SQL Server Configuration Manager has the code to decrypt and re- encrypt the service master key used by SQL Server services correctly when the service account or password is changed. B. Incorrect: SQL Server Management Studio cannot be used to change service account passwords. C. Correct: Only the SQL Server Configuration Manager has the code to decrypt and re-encrypt the service master key used by SQL Server services correctly when the service account or password is changed. D. Incorrect: SQL Server Surface Area Configuration Manager was a utility that existed in SQL Server 2005 and was removed in SQL Server 2008 in favor of making configuration changes directly using the sp_configure system stored procedure.
  • 17. Answers (Continues….) 2- Correct Answers: B and C A. Incorrect: Notification Services is a feature that was available with SQL Server 2005 that is no longer available in SQL Server 2008. B. Correct: Database Mail can be used to send messages to customers. C. Correct: A Visual Studio .NET application can be created to use the mail libraries available within the .NET Framework. D. Incorrect: Activity Monitor is a feature of SSMS that displays query activity on the server; it cannot be used to send messages. 3. Correct Answers: C and D A. Incorrect: A public profile can be accessed by anyone with the authority to send mail, which violates the security requirements. B. Incorrect: Although configuring a mail profile as private will restrict access, the profile cannot be used unless a user has been granted access to the profile. C. Correct: You need to configure the mail profile to be private along with granting access to the mail profile for approved users. D. Correct: Designating a mail profile as the default allows approved users to send mail using the profile without the need to specify the profile explicitly.