下载Microsoft SQL Server 2012 Express

https://www.microsoft.com/en-us/download/details.aspx?id=29062


下载SQL Server Management Studio (SSMS)

https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms


安装Microsoft SQL Server 2012 Express

完成后打开cmd输入如下命令查看

C:\WINDOWS\system32>sqllocaldb info
v11.0

创建数据库

C:\WINDOWS\system32>sqllocaldb create "testdb"
LocalDB instance "testdb" created with version 11.0.


启动数据库

C:\WINDOWS\system32>sqllocaldb start testdb
LocalDB instance "sonar-cpk" started.


找到本地数据库登陆路径

C:\WINDOWS\system32>sqllocaldb info testdb
Name:               testdb
Version:            11.0.2318.0
Shared name:        usera
Owner:              domain\usera
Auto-create:        No
State:              Running
Last start time:    9/12/2017 12:06:32 PM
Instance pipe name: np:\\.\pipe\LOCALDB#SHC07162\tsql\query


打开SQL Server Management Studio

安装SQL Server Express及用SQL Server Management Studio连接


连接成功

安装SQL Server Express及用SQL Server Management Studio连接



相关文章:

  • 2021-08-21
  • 2021-10-14
  • 2021-05-19
  • 2021-08-21
  • 2021-10-16
  • 2021-08-21
  • 2021-12-28
猜你喜欢
  • 2021-11-20
  • 2021-08-21
  • 2021-09-07
  • 2021-11-08
  • 2021-05-19
  • 2021-10-26
  • 2021-08-21
  • 2021-08-21
相关资源
相似解决方案