all groups > sql server dts > november 2003 >
You're in the

sql server dts

group:

DTS copy objects and not whole table copied



DTS copy objects and not whole table copied Peter
11/30/2003 3:26:15 PM
sql server dts: 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
Re: DTS copy objects and not whole table copied Allan Mitchell
12/1/2003 7:31:55 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

[quoted text, click to view]

Re: DTS copy objects and not whole table copied anonymous NO[at]SPAM discussions.microsoft.com
12/1/2003 12:44:52 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

[quoted text, click to view]
AddThis Social Bookmark Button