从 SQL SERVER 2000数据库中导入一个库到 2005中,使用 dtswizard.exe工具并且选择了先删除目的数据库中同名的表。有如下报告提示:
Messages
ERROR : errorCode=-1073548784 description=Executing the query "drop table [testhis].[dbo].[DrugJL]
" failed with the following error: "无法将 DROP TABLE 用于 'testhis.dbo.DrugJL',因为 'testhis.dbo.DrugJL' 是 视图。请使用 DROP VIEW。". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
 helpFile= helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}问题是我没有找到能够选择删除视图的选项,2000到2000导入导出时没有出现这种问题。莫非我还有先手工删除drugjl这个视图,那每次我要更新本地数据时还要用此手工方法吗?