Restored database missing views, stored procs and foreign keys

后端 未结 2 1807
清歌不尽
清歌不尽 2021-01-21 21:34

I\'m trying to create a copy of a database in SQL Management Studio (SQL Server Express) using Backup-Restore. Local to local. When I do it it copies tables and data, but igno

2条回答
  •  伪装坚强ぢ
    2021-01-21 21:48

    This was because of an old backup file. I was under the impression that backing up from a database would just copy what was there currently, but it turns out that the backups come from snapshots taken of the database instead. Those backups did not contain the missing views, stored procedures and foreign keys.

提交回复
热议问题