markdown SqlLocalDb

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown SqlLocalDb相关的知识,希望对你有一定的参考价值。

## Know Issues
Problem with localsystem


## Localdb Automatic intances
```C:\>SqlLocalDb info
MSSQLLocalDB
v12.0
```
(localdb)\ProjectsV12 instance is created by SQL Server Data Tools (SSDT)
(localdb)\MSSQLLocalDB is the SQL Server 2014 LocalDB default instance name
(localdb)\v11.0 is the SQL Server 2012 LocalDB default instance name
Localdb Manual instances
```
"C:\Program Files\Microsoft SQL Server\110\Tools\Binn\SqlLocalDB.exe" create "v11.0" 11.0 -s
"C:\Program Files\Microsoft SQL Server\120\Tools\Binn\SqlLocalDB.exe" create "v12.0" 12.0 -s
"C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe" create "v13.0" 13.0 -s
"C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe" create "MSSQLLocalDb" -s 
```

## Localdb Manual instances
```
SqlLocalDb c Test
 
 
SqlLocalDb start Test
 
 
C:\>SqlLocalDb info test
Name: Test
Version: 12.0.4213.0
Shared name:
Owner: LS\nordine
Auto-create: No
State: Running
Last start time: 27.10.2015 09.59.03
Instance pipe name: np:\\.\pipe\LOCALDB#2B506018\tsql\query
 
 
C:\>sqlcmd -S "(LocalDB)\Test"
1> select name from sys.databases
2> go
        name
        --------------------------------------------------------------------------------------------------------------------------------
        master
        tempdb
        model
        msdb
        (4 rows affected)
1>quit
 
 
SqlLocalDb stop Test
 
 
SqlLocalDb d Test
```

以上是关于markdown SqlLocalDb的主要内容,如果未能解决你的问题,请参考以下文章

如何在 sqllocaldb 中添加用户名和密码

SqlLocalDB

ClickOnce 安装程序无法安装 SQLLocalDb2012,因为 sqlcmdnutils.msi 自最初发布以来已更改

SqlLocalDB2014使用笔记

具有个人帐户和托管 ASP.NET Core 的 Blazor WebAssembly 应用程序 - IIS - SQLLocalDB 15.0 找不到指定的资源语言 ID

删除数据库文件和sqllocaldb后,底层提供程序在Open上失败