----------------------------serverscript
select c.catname, a.appname, s.scriptid
from limsappserverscripts s
join limsapplications a
on a.appid = s.appid
join limsappcategories c
on a.categoryid = c.categoryid
where s.scriptid = ‘C552F35A-B2F5-EB49-AE03-46E66F9CC31F‘
----------------------------clientscript
select c.catname, a.appname, s.scriptid
from limsappclientscripts s
join limsapplications a
on a.appid = s.appid
join limsappcategories c
on a.categoryid = c.categoryid
where s.scriptid = ‘5BBBF5D6-0CF4-4E72-A4C1-4D9D5B930392‘
----------------------------datasource
select c.catname, a.appname, d.datasourceid, ds.dsname
from limsappdatasources d
join limsdatasources ds
on d.datasourceid = ds.datasourceid
join limsapplications a
on a.appid = d.appid
join limsappcategories c
on a.categoryid = c.categoryid
where d.datasourceid = ‘193F410D-BDA8-400A-B40D-B49AFE8A93F8‘