如何在导入/导出时保留 SQL Server 中的身份规范?
我将 SQL 数据库从一台服务器导出到另一台服务器。两者都运行 SQL Server Express。但是,我注意到一些设置没有保留。例如,尽管源服务器上的身份规范设置为“是”,但目标服务器上的身份规范设置为“否”。这带来了两个问题:
是否还有其他我应该了解的尚未保留的设置?
如何保留这些设置而不单独分配每一项?
I exported a SQL database from one server to another. Both are running SQL Server Express. However, I noticed that some settings were not preserved. For example, the Identity Specification is set to "No" on the Destination Server, despite the specification being set to "Yes" on the Source Server. This brings up two questions:
Are there any other settings that have not been preserved that I should know about?
How can I preserve these settings without assigning each one individually?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你究竟是如何导出数据库的?我知道,如果您在一台服务器上备份数据库并在另一台服务器上恢复它,您将不会丢失任何设置。
How exactly did you export the db? I know that if you make a backup of the db on one server and restore it on another, you wont lose any settings.