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