Solved

Database Containment - Benefits

Posted on 2016-11-19
6
50 Views
Last Modified: 2016-11-23
hi experts

i am Reading about: Benefits of Database Containment:
Initial Database Development
and
Database Administration. But i do not understand.
Can you give me an example.

Initial Database Development
Because a developer may not know where a new database will be deployed, limiting the deployed environmental impacts on the database lessens the work and concern for the developer. In the non-contained model, the developer must consider possible environmental impacts on the new database and program accordingly. However, by using partially contained databases, developers can detect instance-level impacts on the database and instance-level concerns for the developer.

Database Administration
Maintaining database settings in the database, instead of in the master database, lets each database owner have more control over their database, without giving the database owner sysadmin permission.
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:Jason clark
ID: 41895333
Go through Containment Paragraph of the following link:
https://technet.microsoft.com/en-us/library/ff929071%28v=sql.110%29.aspx
0
 
LVL 49

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 41895487
Contained Databases were introduced in MSSQL 2012 and basically are more portable since allows you to copy/move the database to another SQL Server instance without the need of transferring logins (that exists in master database).
The logins are contained in the database and when connecting for this kind of database you'll always need to provide the login and database name.
0
 

Author Comment

by:enrique_aeo
ID: 41896593
Vitor,
Your explanation is for
Initial Database Development
or
Database Administration.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 49

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 41897097
They are related.
For a Database Administration point of view the database users doesn't have a Login associated so one need to manage permissions.
For a Development point of view there's no need for the developers to make extra validations for the environment since the users are contained in the database. They don't need for example higher permissions level because the database users doesn't have logins associated.
0
 

Assisted Solution

by:enrique_aeo
enrique_aeo earned 0 total points
ID: 41897732
please

can you give me an example about: extra validations for the environment
0
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41898669
can you give me an example about: extra validations for the environment
Means that developers don't need to check if the database is in DEV, TEST or PROD environment since usually the logins are different from these environments. With a Contained Database the users doesn't have a respective login so their credentials are included in the database and this will save the work of the developers because they won't need to validate the environment but only the database users no matter in each environment the Contained Database is installed.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question