restore database Auction from disk='path' with replace;

System.Data.SqlClient.SqlException: RESTORE 无法处理数据库 'Auction',因为它正由此会话使用。建议在执行此操作时使用 master 数据库。 RESTORE DATABASE 正在异常终止。

很明显的错误提示了,语句改成

use master; restore database Auction from disk='path' with replace;

http://www.xuehai.net/

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-11-12
  • 2022-12-23
  • 2022-02-13
  • 2021-12-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-12-08
相关资源
相似解决方案