AWS RDS SQL Server unable to drop database

后端 未结 4 1923
慢半拍i
慢半拍i 2021-01-02 02:23

I tried to migrate a SQL Server database by Export Data-tier Application (.bacpac file) from an Amazon RDS instance to other, but import didn\'t succeed. So now

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-02 02:56

    Sounds like your not a member of the correct role.

    https://msdn.microsoft.com/en-us/library/ee240822.aspx

    Permissions

    A DAC can only be deleted by members of the sysadmin or serveradmin fixed server roles, or by the database owner. The built-in SQL Server system administrator account named sa can also launch the wizard.

    https://msdn.microsoft.com/en-us/library/ms178613.aspx

    Permissions

    SQL Server - Requires the CONTROL permission on the database, or ALTER ANY DATABASE permission, or membership in the db_owner fixed database role.

    Azure SQL Database - Only the server-level principal login (created by the provisioning process) or members of the dbmanager database role can drop a database.

    Parallel Data Warehouse - Requires the CONTROL permission on the database, or ALTER ANY DATABASE permission, or membership in the db_owner fixed database role.

提交回复
热议问题