In this post, I am providing one TSQL script to find a list of uncontained objects of a Database of SQL Server.
SQL Server 2012 introduced a new concept of partial, contained databases to access few elements from outside its boundary.
As per MSDN official document, uncontained objects are basically those objects that cross the database boundaries in a contained database.
Below is a TSQL script to find uncontained objects:
FROM sys.dm_db_uncontained_entities AS DDUE
LEFT JOIN sys.objects AS O
ON DDUE.major_id = O.object_id
Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.
If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.
I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.