Hello,
Service accounts for the SQL Server services like database engine? Then see Configure Windows Service Accounts and Permissions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are planning on creating 4 service accounts which need read write execute permission What wud be the ideal way Is it better to implement through roles Please guide and thanks for ur help
Hello,
Service accounts for the SQL Server services like database engine? Then see Configure Windows Service Accounts and Permissions
I am not talking about these service accounts
the logins that we will be creating are used by applications to connect to sql server
For read/write access you can add then to the database role db_datareader
The better option is to create an own database role, grant required permissions for the role and add the database user to that role.
Hi NeophyteSQL,
You can add the database user to the membership of db_datareader and db_datawriter.
For example:
USE [DB]
GO
ALTER ROLE db_datareader ADD MEMBER <user>;
Go
ALTER ROLE db_datawriter ADD MEMBER <user>;
Go
Best Regards,
Amelia