将数据库恢复到 SQL Server 2008 时残留的 SQL Server 2000 对象

发布于 2024-11-13 06:01:26 字数 324 浏览 12 评论 0原文

我执行了 RESTORE DATABASE 命令来在 SQL Server 2008 上还原 SQL Server 2000 数据库。脚本运行并显示多条消息,表明数据库正在升级。我注意到 SQL Server 2000 中的(看似)遗留数据库对象已迁移到 SQL 2008 DB。

例如,在 Management Studio 中查看数据库时,存储过程和系统存储过程文件夹中都有名称以 dbo.dt_ 开头的存储过程。表格下还列出了dbo.dtproperties 表。

掉落这些物体安全吗?这些对象不在 SQL 2008 本身创建的数据库中,所以我想是的。但我想确定一下:)

I've performed a RESTORE DATABASE command to restore an SQL Server 2000 database on SQL Server 2008. The script ran and showed several messages showing the DB being upgraded. What I've noticed is that (seemingly) legacy database objects from SQL Server 2000 have been migrated to the SQL 2008 DB.

For example, there are stored procedures whose name starts with dbo.dt_ in both the Stored Procedure and System Stored Procedure folders when viewing the DB in Management Studio. There was also the table dbo.dtproperties listed under tables.

Is it safe to drop these objects? These objects aren't in a DB created in SQL 2008 itself, so I'm thinking yes. But I'd like to make sure :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

在梵高的星空下 2024-11-20 06:01:26

这些对象用于数据库图表。如果您的数据库中没有任何您关心的数据库图表,那么删除这些对象就可以了。

Those objects exist for database diagrams. If you don't have any database diagrams in your database that you care about, then it is fine to delete those objects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文