@Devendra Parmar Thank you for reaching out.
To run this command, you need one or more of these permissions or memberships:
- ALTER permission on the role
- ALTER ANY ROLE permission on the database
- Membership in the db_securityadmin fixed database role
Additionally, to change the membership in a fixed database role you need:
Membership in the db_owner fixed database roleTo run this command you need one or more of these permissions or memberships:
- ALTER permission on the role
- ALTER ANY ROLE permission on the database
- Membership in the db_securityadmin fixed database role
Additionally, to change the membership in a fixed database role you need:
- Membership in the db_owner fixed database role.
USE [YourDatabase];
GRANT ALTER ANY ROLE TO [YourLogin];
Then
USE [YourDatabase];
ALTER ROLE db_owner ADD MEMBER [YourLogin];
Regards,
Oury