Contained Databases in SQL Server 2012 – Denali

Who is online?  85 guests and 0 members
home  »  blogs  »  Sarabpreet Anand  »  Contained Databases in SQL Server 2012 – Denali

Training on Microsoft Products & Technologies

  Rate This Blog Entry:  register  or  login

Author

sarab Sarabpreet Anand (Member since: 3/15/2011 5:38:06 AM)
Sarabpreet’s Seven years of enriched experience and intellectual skills, have provided him an edge over the others by way of endowing him an opportunity to work and grow along with industry leaders. The keen urge of continuously learning and growing to evolve himself and being adaptable to changing environment has proved to be a milestone for his carrier. His core competency lies in administration of SQL Server 2000, 2005 and 2008. Follow Sarab at Twitter @Sarab_SQLGeek

View Sarabpreet Anand 's profile

Comments (7)

user146939
12/16/2011 7:13:26 AM Rashmi Patankar said:

Hi Sarab...Could you please elaborate how a user can login to the database without having a login. I am bit confused on contained DB part.

by
user146939
12/16/2011 7:20:27 AM Rashmi Patankar said:

Also, can you explain me two-part name & three-part name that you've mentioned in the application model & mangement model?

by
sarab
12/16/2011 9:37:01 AM Sarabpreet Anand said:

Hi,

For your first Question: " Hi Sarab...Could you please elaborate how a user can login to the database without having a login. I am bit confused on contained DB part."

Don't worry about this, i am writing another article on "How to Create and Manage Contained Databases" and i'll explain everything regarding these users in the article.

I am busy with lots of other stuff today....will try to publish that tommorow.

 

by
sarab
12/16/2011 9:46:40 AM Sarabpreet Anand said:

Your second question: "Also, can you explain me two-part name & three-part name that you've mentioned in the application model & mangement model?"

Let's say you are connected to Sales Database and want to get some data out of Employee database, how will you get that data?

you've two options:

1. Connect to Employee DB .... query for the data you need & then connect back to Sales Database to continue working on whatever you were doing.

2. Query directly to Employee database by using three part Name i.e., select * from Employee.dbo.PersonalDetails

Note: Employee is database Name, dbo is Schema Name and PersonalDetails is Table\view Name.

The same way you can connect to some other Server or SQL Instance also to get some data by providing a four part name:

ServerName.DatabaseName.SchemaName.TableName

in some cases you may skip giving schemaName if the schema of the object is either in DBO schema or your default schema.

Hope this helped. Smile

Thanks

Sarab

by
user146939
12/16/2011 9:58:54 AM Rashmi Patankar said:

Thanks. That was a wonderful explanation. Thanks for the elaborative answer!

by
sarab
12/23/2011 4:40:51 AM Sarabpreet Anand said:

Hi,

As promised, I've submitted the article on Contained Database Implementation & Users Authentication. Here is the link:

http://www.sqlservergeeks.com/articles/sql-server-bi/82/step-by-step-guide-to-implement-contained-databases-sql-server-denali

Thanks,

Sarabpreet Singh

by
Jack
12/24/2011 9:12:58 PM Jack said:

A picture explaining everything would have explained everything better

by

Leave a comment

Name:
  *  
Email:  (your email is kept secure)
 *  
Website:

example: "http://www.SQLServerGeeks.com"

 
Type the characters:
 *
 
   

Training on Microsoft Products & Technologies

Training on Microsoft Products & Technologies

Email Subscriptions

   Get the Most Recent Blogs in your inbox
Blogs RSS Feed

Sarabpreet Anand's latest blog posts

Blogs RSS Feed

Latest community blog posts

  • Dear SQL Geek, SQLServerGeeks.com cordially invites you to SQL Server Day, the monthly dose of SQL Server knowledge & learning. And after successful events in Bangalore, Kolkata & Mumbai, we a...
  • Hi SQL Geeks, The Microsoft® SQL Server® 2012 Feature Pack is a collection of stand-alone packages which provide additional value for Microsoft® SQL Server® 2012. You can download the ...
  • Hi Friends, Here is an interesting function: QUOTENAME() which returns a Unicode string with the delimiters added to make the input string a valid SQL Server delimited identifier. (from Books Online) ...
  • Hi All, It is a great news to all those who use SQL Server Express editions. Microsoft has increased the database size limit of SQL Server 2008 R2 Express edition from 4GB to 10GB. Previous versions o...
  • Hello Friends, It’s been a while that I have posted any blog. So here it is- Well with the arrival of SQL Server 2000, Microsoft has introduced the concept of User Defined Function (UDF). So the...
  • Exciting news! SQL Server 2012 has released to manufacturing. Customers and partners can download an evaluation of the product today and can expect general availability to begin on April 1. Microsoft ...