A while back I was asked to identify schemas that didn’t have any objects. Since it was a useful query, I thought I’d share it. SELECT s.name as schema_name ,COALESCE(o.type_desc, '--NO ITEMS--') as type_desc ,NULLIF(COUNT(DISTINCT o.name),0) as
Read More...