SQL Server 2012                                     Screencast Series              Migrating to a            Contained Dat...
What are Contained Databases• Isolated from other DBs and the SQL  Server Instance• Majority of the metadata that describe...
Authentication• Contained User  – Contained User with Password  – Windows Principals• Enable Contained DB Authentication  ...
Traditional DB Migration Scenario (I)                                SQL Server Instance 1                    SQL Applicat...
Traditional DB Migration Scenario (II)                                                 SQL Server Instance 2              ...
Contained DB Migration Scenario (I)                                 SQL Server Instance 1 Application                     ...
Contained DB Migration Scenario (II)                                 SQL Server Instance 2 Application                    ...
Contained DB Migration Scenario (N)                                  SQL Server Instance N Application                    ...
DemonstrationDemo 1: Migrating a Traditional DBDemo 2: Migrating a Contained DB
Summary• Contained Databases Introduce a New Security  Model• Isolated from other DBs and the SQL Server  Instance• Users ...
Resources• Contained Databases on MSDN Library   – http://msdn.microsoft.com/en-us/library/ff929071.aspx• Microsoft SQL Se...
Upcoming SlideShare
Loading in...5
×

Migrating to a Contained Database in SQL Server 2012

1,569

Published on

This screencast discusses the benefits derived by the new feature of Contained Databases in SQL Server 2012 and demonstrates how you can migrate an existing database in SQL Server 2012 to a Contained Database.

--
Subscribe to The SQL Server and .NET TV! http://bit.ly/Rk7abL
Follow me on Twitter! http://twitter.com/artemakis
Find me on my Blog! http://aartemiou.blogspot.com/

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,569
On Slideshare
0
From Embeds
0
Number of Embeds
20
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Migrating to a Contained Database in SQL Server 2012

  1. 1. SQL Server 2012 Screencast Series Migrating to a Contained Database December 20th, 2012Artemakis ArtemiouSQL Server MVPCDNUG LeadINETA Country Leader (CY)http://aartemiou.blogspot.com
  2. 2. What are Contained Databases• Isolated from other DBs and the SQL Server Instance• Majority of the metadata that describes the database is maintained within the database• Users in contained DBs no longer associated with SQL Server Logins• Simplified security model• Portability
  3. 3. Authentication• Contained User – Contained User with Password – Windows Principals• Enable Contained DB Authentication sp_configure contained database authentication, 1;• Disable Contained DB Authentication sp_configure contained database authentication, 0;
  4. 4. Traditional DB Migration Scenario (I) SQL Server Instance 1 SQL Application Login AW DB DB DB DB Access Granted
  5. 5. Traditional DB Migration Scenario (II) SQL Server Instance 2 SQL Application Login AW DB DB DB DB Access Denied ** If the SQL Login is not migrated
  6. 6. Contained DB Migration Scenario (I) SQL Server Instance 1 Application AW DB DB DB DB Access Granted Contained Database
  7. 7. Contained DB Migration Scenario (II) SQL Server Instance 2 Application AW DB DB DB DB Access Granted Contained Database
  8. 8. Contained DB Migration Scenario (N) SQL Server Instance N Application AW DB DB DB DB Access Granted Contained Database
  9. 9. DemonstrationDemo 1: Migrating a Traditional DBDemo 2: Migrating a Contained DB
  10. 10. Summary• Contained Databases Introduce a New Security Model• Isolated from other DBs and the SQL Server Instance• Users in contained DBs no longer associated with SQL Server Logins• Authentication – Contained User with Password – Windows Principals• Portability = More Robust Data Applications
  11. 11. Resources• Contained Databases on MSDN Library – http://msdn.microsoft.com/en-us/library/ff929071.aspx• Microsoft SQL Server Official Website – http://www.microsoft.com/sqlserver/en/us/default.aspx• SQL Server Blog – http://blogs.technet.com/b/dataplatforminsider/• The SQL Server and .NET Blog – http://aartemiou.blogspot.com• The SQL Server and .NET TV – http://www.youtube.com/sqlserverdotnetblog• Follow me on Twitter! – http://twitter.com/artemakis
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×