The example output in this article includes a row for an external link. What is needed in the given code to include external links?
My colleague, a system administrator, used the code given in this article, modifying it only to specify space keys:
SELECT s.spacename as Space, c.title as Page, l.destspacekey as SpaceOrProtocol, l.destpagetitle as Destination
FROM LINKS l
JOIN CONTENT c ON c.contentid = l.contentid
JOIN SPACES s ON s.spaceid = c.spaceid
WHERE c.prevver IS NULL
AND l.destspacekey IN ('DMEdoc', 'DSE', 'MPC')
ORDER BY l.destspacekey;
However, this code generated a report that didn't include any external links. All 3 of the specified wiki spaces do have external links, so we need to know what code to add to include the external links.