A continuación busco los sitios huerfanos que tengan PWA como URL:
select distinct a.Path, b.name as databasename,a.ApplicationId, b.id as dbid, a.Id
from
[SharePoint_Config].dbo.sitemap as a inner join
[SharePoint_Config].dbo.objects as b on a.databaseid=b.id inner join
[SharePoint_Config].dbo.objects as c on c.id=a.applicationid inner join
[SharePoint_Config].dbo.objects as d on b.parentid=d.id inner join
[SharePoint_Config].dbo.objects as e on d.parentid=e.id
WHERE b.name like '%PWA%'
Fuente:
No hay comentarios:
Publicar un comentario