--Select * from ROUsages where ROID like 'FF%'

Select VI.VersionID, cc.ContentID,dbo.ve_GetShortPath(Itemid) Location, VN.FolderName, cc.Text 
from Contents cc 
JOIN VEFN_GetVersionItems('209,206,207') VI ON VI.ContentID = CC.ContentID
--JOIN VEFN_GetVersionItems('206') VI ON VI.ContentID = CC.ContentID
JOIN VEFN_GetVersionNames() VN ON VI.VersionID = VN.VersionID
--left JOIN (Select * from vefn_ProcedureByProcID('742188')) VP ON VP.ContentID = CC.ContentID
where cc.Text like '%000C%' OR cc.Text like '%FFFF%'

