I am trying to add permissions to a Store procedure for a user using this query,
USE [MyDatabaseName] GO GRANT EXEC ON [dbo].[StoreProcedureName] TO [UserNa
Run this:
USE [db_where_you_need_access] GO CREATE USER [your_user] FOR LOGIN [your_user]