dbTalk Databases Forums  

DTS copy objects and not whole table copied

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


Discuss DTS copy objects and not whole table copied in the microsoft.public.sqlserver.dts forum.



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

Default DTS copy objects and not whole table copied - 11-30-2003 , 05:26 PM






Sorry if this is a common question, but I got to the
newsgroup through the MS site and could not find the
newsgroup to search for answers.
I am using SQL 2000 and using the DTS wizard to copy
objects (in my case tables and stored procedures) from one
database to another. After the copy, some (but not all) of
the tables do not have all of the rows copied. Those that
do not always stop at a 1,000 record interval. When I use
DTS and copy table I get all of the records, but then I
need to generate the indices on the tables.
So, is there a fix or workaround?
Thanks
Peter

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

Default Re: DTS copy objects and not whole table copied - 12-01-2003 , 01:31 AM






To tell you the truth I never use that task. Why not use BACKUP/RESTORE?
When i did use the task I never saw the behaviour you are experiencing
either. I like to have a script to run in my indices, keys etc. Is there a
commonality in the tables/rows that do not get moved? If you only take
across a smaller # of tables does this still happen? Do you have enough
room in your temp directory ? Is there an error anywhere ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

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

Quote:
Sorry if this is a common question, but I got to the
newsgroup through the MS site and could not find the
newsgroup to search for answers.
I am using SQL 2000 and using the DTS wizard to copy
objects (in my case tables and stored procedures) from one
database to another. After the copy, some (but not all) of
the tables do not have all of the rows copied. Those that
do not always stop at a 1,000 record interval. When I use
DTS and copy table I get all of the records, but then I
need to generate the indices on the tables.
So, is there a fix or workaround?
Thanks
Peter



Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: DTS copy objects and not whole table copied - 12-01-2003 , 02:44 PM



Cannot use backup/restore since we have some corrupted
tables in the database - apparently so for some time; DBCC
checkdb with ALLOW_DATA_LOSS (however the command is
spelled) will not fix the damaged tables.
There seems to be no common element in those that do not
copy fully.
They do not copy fully if I do only one using copy
objects.
They do copy fully if I do a copy table or a query copy,
but then I need to run a script to re-index and grant
permissions; not a problem but having DTS do it seems
cleaner.
There is plenty of space in tempdb

Peter

Quote:
-----Original Message-----
To tell you the truth I never use that task. Why not use
BACKUP/RESTORE?
When i did use the task I never saw the behaviour you are
experiencing
either. I like to have a script to run in my indices,
keys etc. Is there a
commonality in the tables/rows that do not get moved? If
you only take
across a smaller # of tables does this still happen? Do
you have enough
room in your temp directory ? Is there an error
anywhere ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Peter" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:021a01c3b799$599d34a0$a501280a (AT) phx (DOT) gbl...
Sorry if this is a common question, but I got to the
newsgroup through the MS site and could not find the
newsgroup to search for answers.
I am using SQL 2000 and using the DTS wizard to copy
objects (in my case tables and stored procedures) from
one
database to another. After the copy, some (but not all)
of
the tables do not have all of the rows copied. Those
that
do not always stop at a 1,000 record interval. When I
use
DTS and copy table I get all of the records, but then I
need to generate the indices on the tables.
So, is there a fix or workaround?
Thanks
Peter


.


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.