1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- 已提問 10 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前