Article ID: 300272 - View products that this article applies to.
This article was previously published under Q300272
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 352081 (SHILOH_BUGS)
Attempts to transfer a view by using the Data Transformation Service (DTS) Import/Export wizard fails under the following conditions:
NOTE: "dbo.TestFunc" is the name of the UDF.
Failed to copy objects from Microsoft SQL Server to Microsoft SQL Server
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'dbo.TestFunc'.
The view is being created in the destination database before the UDF, which is the dependent object. All the dependent objects must be created first.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Transfer all the objects that the view depends on first, and then when you transfer the view, do not include dependent objects.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
Steps to Reproduce Behavior