Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
execute
public
select distinct sql = 'grant execute on [' + u.name + '].[' + o.name + '] to public' from sysobjects o inner join sysusers u on o.uid = u.uid where 1=1 and o.type in ('FN','P') and o.name not like 'dt_%' order by 1
select distinct sql = 'grant execute on [' + s.name + '].[' + o.name + '] to public' from sys.objects o inner join sys.schemas s on o.schema_id = s.schema_id where 1=1 and o.type in ('FN','P') and o.name not like 'dt_%' order by 1
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.