1 Answer
- Newest
- Most votes
- Most comments
1
the 'sysadmin' role itself is reserved for the 'rdsa' internal SQL Server account, which is managed by the Amazon RDS service and not accessible to users.
you can create a new user and assign db_owner role
CREATE LOGIN [NewUserName] WITH PASSWORD = 'NewUserPassword';
GO
USE [YourDatabaseName];
GO
CREATE USER [NewUserName] FOR LOGIN [NewUserName];
GO
EXEC sp_addrolemember 'db_owner', 'NewUserName';
GO
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago