作者:闲看云天的快乐生活 | 来源:互联网 | 2023-09-03 10:05
ItriedtomigrateaSQLServerdatabasebyExportData-tierApplication(.bacpacfile)fromanAmaz
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 I want to delete the database (which is empty), when I try to:
我尝试通过导出数据层应用程序(.bacpac文件)将Amazon RDS实例的SQL Server数据库迁移到其他实例,但导入未成功。所以现在我想删除数据库(这是空的),当我尝试:
DROP DATABASE mydatabase;
I get the error:
我收到错误:
Cannot drop the database 'mydatabase', because it does not exist or you do not have permission
无法删除数据库'mydatabase',因为它不存在或您没有权限
Some context:
- I've tried using SQL Server Management Studio, and choosing close connections: same error.
我尝试过使用SQL Server Management Studio,并选择紧密连接:同样的错误。
- I'm logged as master user.
我以主用户身份登录。
- I can create and drop other databases, but not this one.
我可以创建和删除其他数据库,但不是这个。
- I just have these effective permissions on this database:
CONNECT
, SHOWPLAN
, VIEW DATABASE STATE
, VIEW DEFINITION
(don't know why or how is this possible).
我只对这个数据库拥有这些有效权限:CONNECT,SHOWPLAN,VIEW DATABASE STATE,VIEW DEFINITION(不知道为什么或如何可能)。
Any help is greatly appreciated!
任何帮助是极大的赞赏!
2 个解决方案