How can I find out the location of my (localdb) SQL Server 2012 database and back it up?

前端 未结 7 1291
旧巷少年郎
旧巷少年郎 2021-02-01 15:09

I am using VS2012 and I have a database created:

(localdb)\\v11.0 (SQL Server 11.0.2100 - T61\\Alan)

How can I find out the physical location o

7条回答
  •  眼角桃花
    2021-02-01 15:31

    By default, LocalDB database creates “*.mdf” files in the C:/Users/"username" directory.

    Link ref: https://docs.asp.net/en/latest/tutorials/first-mvc-app/working-with-sql.html

提交回复
热议问题