我的电脑上安装了 SQL Server 2005,并通过它创建了一些数据库。由于某些问题,我不得不重新安装它,但是现在当我发出“创建数据库 mydb”命令时,它说
"Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\myDb.mdf' because it already exists. Change the file path or the file name, and retry the operation."
Run Code Online (Sandbox Code Playgroud)
当我给出“使用 mydb”命令时,它说
Could not locate entry in sysdatabases for database 'mydb'. No entry found with that name. Make sure that the name is entered correctly.
Run Code Online (Sandbox Code Playgroud)
我应该怎么做才能找到我的数据库?
| 归档时间: |
|
| 查看次数: |
12736 次 |
| 最近记录: |