There might be scenarios where you might move the code to QA or production and then grant access to user setup for the Application's access. Here is how you can do it as shown below
USE DBName
GO
GRANT EXECUTE ON SCHEMA :: schemaName TO App_User;
The highlighted in bold options are the inputs that will depend on the database name of your application, the schema whose objects you need to access and the user setup for application's access.
USE DBName
GO
GRANT EXECUTE ON SCHEMA :: schemaName TO App_User;
The highlighted in bold options are the inputs that will depend on the database name of your application, the schema whose objects you need to access and the user setup for application's access.
No comments:
Post a Comment