This Code Helps you to GRANT Various Permissions to Specific TYPE Objects in a Database.
you can expand this to include other Databases or all databases in a SQl Server instance.
This Code Helps you to GRANT Various Permissions to Specific TYPE Objects in a Database.
you can expand this to include other Databases or all databases in a SQl Server instance.
Select 'GRANT EXECUTE ON '+name+' TO Maninder' from sysobjects Where type='P' and Category='0'