Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Restore SQL Server 2016 with backup from SQL Server 2012

$
0
0

I am trying to transfer a database from SQL Server 2012 to SQL 2016 by restoring from a 2012 backup. The restore runs without any displayed errors, but no tables are created. The same backup/restore works properly on 2012. Owner is SA with the same password on both computers.

Copy database doesn't work properly.

Export data correctly creates and populates the tables except that is doesn't transfer the ID column properties.

It is possible to set the ID column to primary key after the transfer. ID column properties lets you set Identity to yes, but the change is rejected when you try to save the table changes.

I am aware of the dropping and recreating of a table in order to get around the Identity problem.

Any suggestions about the best way to transfer a database from 2012 to 2016 will be greatly appreciated.


RERThird


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>