Hi all I want to add execute permissions to a user for multiple objects. But I can't seem to add wildcards into my code.
GRANT EXECUTE ON OBJECT::dbo.CREATESERVERSESSIONS TO [domain\user];
this works but I have a lot of stored procedures that start with XU_ now I want grant execute on all stored procedures that start with XU_
GRANT EXECUTE ON OBJECT::dbo.XU_* TO [domain\user];
but that is not working. I hope someone knows a solution to this. Thanks in advance.