dbTalk Databases Forums  

Importing views

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Importing views in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mr Joe
 
Posts: n/a

Default Importing views - 05-28-2006 , 09:02 AM






I'm trying to import user views from db to another. When I use the copy table
and views option and select only the views it appears to copy fine and says
so but the views don't show up in the destination. When I use copy objects
and select only the view it generates an error that states "There is already
an object named 'viewName' in the database. But ofcourse its not there.
Anyone have any ideas what the %$#^%$ is going on.
--
Mr Joe says "Bad Dog"

Reply With Quote
  #2  
Old   
=?Utf-8?B?U2hpdmEgbmFpZHU=?=
 
Posts: n/a

Default RE: Importing views - 05-30-2006 , 03:23 AM






Hi Joe,

This is a problem when you import the views from one DB to other

The Import/Export wizard will create the views in the form of tables not
views so if you try to view the name it will say as a User table,

Now you have to drop the tables with the view name and then script the views
and execute them on the destination server,


"Mr Joe" wrote:

Quote:
I'm trying to import user views from db to another. When I use the copy table
and views option and select only the views it appears to copy fine and says
so but the views don't show up in the destination. When I use copy objects
and select only the view it generates an error that states "There is already
an object named 'viewName' in the database. But ofcourse its not there.
Anyone have any ideas what the %$#^%$ is going on.
--
Mr Joe says "Bad Dog"

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.