复制我的SQL Server数据库时保留时间戳 [英] Keep timestamp when copying my SQL Server database

查看:146
本文介绍了复制我的SQL Server数据库时保留时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用数据库>任务>复制数据库向导将SQL Server 2005数据库从一个服务器复制到另一个服务器,除非时间戳列的值未被复制,否则它工作得很好。

I'm copying an SQL Server 2005 database from one server to another, with the Database>Tasks>Copy Database wizard, and it works great, except for the timestamp column whose values are not copied.

是否有一种方法可以在数据库副本上保留时间戳值?

Is there a way to have the timestamp values be preserved on database copy?

推荐答案

您可以使用备份,然后将其还原到服务器?在某些情况下可能比它的价值更麻烦,但它为我工作了一次以上。

Is it possible for you to use a backup and then restore it to the server instead? Could be more trouble than it's worth in some cases, but it worked for me more than one time.

这篇关于复制我的SQL Server数据库时保留时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆