dbTalk Databases Forums  

Copying database

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


Discuss Copying database in the microsoft.public.sqlserver.dts forum.



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

Default Copying database - 05-31-2005 , 06:20 PM






While copying database I am getting object not found errors. I looked up the
two tables that were cause of the error and they were missing from the
tables, so I deleted all references to them in the database diagram, views
and stored procedure. But still DTS continues to give the same error. Any
pointers??

Many Thanks
Vibs

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copying database - 06-01-2005 , 12:27 AM






Couple of things

Are you using the Copy Objects Task?
If you are do you have "include Dependencies" checked?

Can you not use BACKUP and RESTORE? Even if you do not want everything
it might be quicker to do this and remove on the destination what you do
not want.

Are you sure that what you are erroring on is what you are erroring on?


Allan

"vibs" <vibs (AT) discussions (DOT) microsoft.com> wrote


Quote:
While copying database I am getting object not found errors. I looked up the
two tables that were cause of the error and they were missing from the
tables, so I deleted all references to them in the database diagram, views
and stored procedure. But still DTS continues to give the same error. Any
pointers??

Many Thanks
Vibs


Reply With Quote
  #3  
Old   
vibs
 
Posts: n/a

Default Re: Copying database - 06-01-2005 , 07:18 AM



I take off the include dependencies check and I can't do backup and restore
as I am combining three different databases into one. The error I am getting
is "Invalid object" and the error lists the two tables that do not exist.

Thanks!!!
Vibs

"Allan Mitchell" wrote:

Quote:
Couple of things

Are you using the Copy Objects Task?
If you are do you have "include Dependencies" checked?

Can you not use BACKUP and RESTORE? Even if you do not want everything
it might be quicker to do this and remove on the destination what you do
not want.

Are you sure that what you are erroring on is what you are erroring on?


Allan

"vibs" <vibs (AT) discussions (DOT) microsoft.com> wrote in message
news:vibs (AT) discussions (DOT) microsoft.com:

While copying database I am getting object not found errors. I looked up the
two tables that were cause of the error and they were missing from the
tables, so I deleted all references to them in the database diagram, views
and stored procedure. But still DTS continues to give the same error. Any
pointers??

Many Thanks
Vibs



Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copying database - 06-01-2005 , 01:57 PM



I do dislike this task <grin>

OK So what is the copy objects task tryng to apply to your destination
when the error occurs.


Do you drop and recreate every night?

Could you not just script things out manually once, apply on the
destination and then build DTS packages to move the data?


Allan

"vibs" <vibs (AT) discussions (DOT) microsoft.com> wrote


Quote:
I take off the include dependencies check and I can't do backup and restore
as I am combining three different databases into one. The error I am getting
is "Invalid object" and the error lists the two tables that do not exist.

Thanks!!!
Vibs

"Allan Mitchell" wrote:

Couple of things

Are you using the Copy Objects Task?
If you are do you have "include Dependencies" checked?

Can you not use BACKUP and RESTORE? Even if you do not want everything
it might be quicker to do this and remove on the destination what you do
not want.

Are you sure that what you are erroring on is what you are erroring on?


Allan

"vibs" <vibs (AT) discussions (DOT) microsoft.com> wrote in message
news:vibs (AT) discussions (DOT) microsoft.com:

While copying database I am getting object not found errors. I looked up the
two tables that were cause of the error and they were missing from the
tables, so I deleted all references to them in the database diagram, views
and stored procedure. But still DTS continues to give the same error. Any
pointers??

Many Thanks
Vibs




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.