SlideShare a Scribd company logo
1 of 6
Partially Contained Databases
Chris Anderson
Database Architect, CA Department of
Corrections and Rehabilitation
@realworldis
PROBLEM
After you migrate or restore a database from
one server to another, extra steps are
required to identify and move logins before
users can connect.
Partial Containment in SQL Server 2012 +
Traditional Database Auth
Objects
System
Databases
Users
Logins
User Database
Contained Database Auth
Objects
System
Databases
User Database
Benefits
A contained database can be migrated or
restored from one server to another and be
ready for use.
Uncontained Entities
But wait, there’s
more…
Just one more thing…
db_owner
Thank You @SacSQLUG!
Questions?
Chris Anderson
Database Architect, CA Department of Corrections
and Rehabilitation
@realworldis

More Related Content

What's hot

Active directory ds ws2008 r2
Active directory ds ws2008 r2Active directory ds ws2008 r2
Active directory ds ws2008 r2
MICTT Palma
 
Be05 introduction to sql azure
Be05   introduction to sql azureBe05   introduction to sql azure
Be05 introduction to sql azure
DotNetCampus
 

What's hot (20)

SSIS begineer
SSIS begineerSSIS begineer
SSIS begineer
 
Resume
ResumeResume
Resume
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
 
Higher Productivity With Ase
Higher Productivity With AseHigher Productivity With Ase
Higher Productivity With Ase
 
Oracle institutes in Hyderabad.
Oracle  institutes in Hyderabad.Oracle  institutes in Hyderabad.
Oracle institutes in Hyderabad.
 
Partially Contained Databases
Partially Contained DatabasesPartially Contained Databases
Partially Contained Databases
 
First Look to SSIS 2012
First Look to SSIS 2012First Look to SSIS 2012
First Look to SSIS 2012
 
Active directory ds ws2008 r2
Active directory ds ws2008 r2Active directory ds ws2008 r2
Active directory ds ws2008 r2
 
Be05 introduction to sql azure
Be05   introduction to sql azureBe05   introduction to sql azure
Be05 introduction to sql azure
 
Geek Sync | SQL Security Principals and Permissions 101
Geek Sync | SQL Security Principals and Permissions 101Geek Sync | SQL Security Principals and Permissions 101
Geek Sync | SQL Security Principals and Permissions 101
 
SSIS 2012: Parameters vs. Configurations
SSIS 2012: Parameters vs. ConfigurationsSSIS 2012: Parameters vs. Configurations
SSIS 2012: Parameters vs. Configurations
 
SQL Server 2016 BI updates
SQL Server 2016 BI updatesSQL Server 2016 BI updates
SQL Server 2016 BI updates
 
Stretch Database
Stretch DatabaseStretch Database
Stretch Database
 
SQLite database in android
SQLite database in androidSQLite database in android
SQLite database in android
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
 
Resume
ResumeResume
Resume
 
Database synchronization prashant parit
Database synchronization   prashant paritDatabase synchronization   prashant parit
Database synchronization prashant parit
 
Sql server etl framework
Sql server etl frameworkSql server etl framework
Sql server etl framework
 
Assignment#10
Assignment#10Assignment#10
Assignment#10
 
SQL Azure
SQL AzureSQL Azure
SQL Azure
 

Viewers also liked

Mombasa Lead Alliance 2016
Mombasa Lead Alliance 2016Mombasa Lead Alliance 2016
Mombasa Lead Alliance 2016
Daniel Maina
 
CV-Film-Theater-Fashion-ohne adresse
CV-Film-Theater-Fashion-ohne adresseCV-Film-Theater-Fashion-ohne adresse
CV-Film-Theater-Fashion-ohne adresse
Margarethe Przywara
 
екологічна стежка як об’єкт науково дослідної діяльності
екологічна стежка як об’єкт науково дослідної діяльностіекологічна стежка як об’єкт науково дослідної діяльності
екологічна стежка як об’єкт науково дослідної діяльності
Инна Цуркан
 

Viewers also liked (12)

RoWIP Strategic Review
RoWIP Strategic ReviewRoWIP Strategic Review
RoWIP Strategic Review
 
ГТО
ГТОГТО
ГТО
 
The read lead lead-read campaign day1
The read lead lead-read campaign day1The read lead lead-read campaign day1
The read lead lead-read campaign day1
 
Resume p
Resume pResume p
Resume p
 
Mombasa Lead Alliance 2016
Mombasa Lead Alliance 2016Mombasa Lead Alliance 2016
Mombasa Lead Alliance 2016
 
CV-Film-Theater-Fashion-ohne adresse
CV-Film-Theater-Fashion-ohne adresseCV-Film-Theater-Fashion-ohne adresse
CV-Film-Theater-Fashion-ohne adresse
 
The read-lead lead-rid campaign day2
The read-lead lead-rid campaign day2The read-lead lead-rid campaign day2
The read-lead lead-rid campaign day2
 
Communication in schools
Communication in schoolsCommunication in schools
Communication in schools
 
Earned Brand 2016 - Japan
Earned Brand 2016 - JapanEarned Brand 2016 - Japan
Earned Brand 2016 - Japan
 
El cuento (2)
El cuento (2)El cuento (2)
El cuento (2)
 
екологічна стежка як об’єкт науково дослідної діяльності
екологічна стежка як об’єкт науково дослідної діяльностіекологічна стежка як об’єкт науково дослідної діяльності
екологічна стежка як об’єкт науково дослідної діяльності
 
Weather and climate
Weather and climateWeather and climate
Weather and climate
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Partially Contained Databases in SQL Server 2012+

Editor's Notes

  1. Thank you for having me out
  2. How many of you have migrated a database from one server to another? E.g. you have a month to do it? How many of you have had to restore a database from one server to another? How many of you had to do that restore at 2AM Sunday morning, got to get it running by Monday? I ask you to keep those scenarios in mind as you view this demo, and consider what pieces would make those situations more comfortable for you.
  3. Traditional databases are uncontained; Grant Fritchey: problem since beginning
  4. In contained databases, the authentication objects – logins – move into the schema of the user database
  5. Database owners (db_owner) can now add users to their database. Do not need to have a server-level role such as securityadmin Examine ‘Uncontained Entities’ to find dependencies on objects outside of the database
  6. Take Away: Contained users live within the schema of a user database; DB_Owners can be delegated more power without exposing server-level settings to them Call to Action: Try it out. A great first step is a reporting or application account that has a one-to-one relationship with a single databases