How do I copy SQL Server 2012 database to localdb instance?

后端 未结 9 1905
你的背包
你的背包 2021-02-04 00:49

I\'m looking to copy a SQL Server 2012 Standard database to my localdb instance. I\'ve tried the wizard which complains that localdb isn\'t a SQL Server 2005 or later expres

9条回答
  •  旧时难觅i
    2021-02-04 01:08

    Same problem, thanks for the help. My local database is MS SQL 2014. Open "SQL Server 2014 Management Studio"

    1. Right click the database, go to "Tasks", click "Take Offline"
    2. Detach the database
    3. Attach the database

    It work for me. After you backup the database, you can restore the database without error. Thanks.

提交回复
热议问题