Re: DTS Won't Accept embedded view -
09-10-2003
, 09:54 AM
Hi Wayne,
I perform an experiment on my side. I do not found the problem which you
post. The detailed steps which I performed are below:
1. Use Nothwind sample database.
2. Create Two View called VIEWtest1 and Testview2 below:
VIEWtest1:
CREATE VIEW dbo.VIEWtest1
AS
SELECT CustomerID, ContactName
FROM dbo.Customers
~~~~~~~~
VIEWtest2:
CREATE VIEW dbo.VIEWtest2
AS
SELECT ContactName
FROM dbo.VIEWtest1
~~~~~~~~
3. Please select the "Copy objects and data between SQL Server databases"
option in the Specify table copy or query" dialog when you are setting in
the DTS Import/Export Wizard.
a. In the "Select Objects to Copy" dialog, the "Use Default Options" was
checked. Please unchecked that and then clicked "Options" button.
b. "Copy database users and database roles" was checked. Please unchecked
this as well as unchecking "Copy SQL Server logins".
c. Press OK and go ahead.
4. In the "Select Objects to Copy" dialog, the "Copy all objects" was
checked. Please unchecked that and then clicked "Select Objects" button.
Chose the View called Viewtest2. Press Ok and go ahead.
It works on my side. I do not found any error messages. Could you try and
check to see if it works on your side?
Note: In the destination SQL Server, please make sue there are no views
called Viewtest1 and Viewtest2.
Hope it helps. If you have any concerns, please post it directly on the
newsgroup. I will be happy to provide the support service.
Regards,
Michael Shao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. |