Posted by wackyphill on 03/24/06 14:51
I'd like to grant a WIndows account permission to connect to a db and
exec stored procedures. But am having trouble.
I want this type of effect but can't get the syntax correct:
USE MyDB
GO
CREATE USER 127.0.0.1\ASPNET --ASPNET Account for current machine
GO
GRANT EXECUTE ON AllStoredPRocs TO 127.0.0.1\ASPNET
How is this done in a t-sql script?
Thanks for any help.
[Back to original message]
|