PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Transfer of data doesn't complete
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Transfer of data doesn't complete

Réponse
 
LinkBack Outils de la discussion
Vieux 20/05/2008, 19h10   #1
tolcis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Transfer of data doesn't complete

Hi!

I am running SQL 2000 SP4.
I have a table1 with about 6.5mil rows. I created another table
(table2) and I needed to transfer all data from table1 to table2. I
used DTS Import/Export feature however packages keeps running without
any completion in the status it says Started (134000) and it doesn't
go any further.
I would assume that it transferred 133000 rows and is being stuck on
134000's but I don't know how to look for that row.
My table structure as follows:
Col1 (PK, char(50), not null)
Col2 (PI, int, not null)
Col3 (PK, datetime, not null)
Col4 (float, not null)
Only one clustered index defined on all primary keys.
Is there a way for me to determine why the package is hanging on
134000 row and not going any further.
T.



  Réponse avec citation
Vieux 21/05/2008, 12h02   #2
John Bell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Transfer of data doesn't complete

"tolcis" <nytollydba@gmail.com> wrote in message
news:a09a616f-b6ff-4ae5-a9d0-dc3bbe0afa91@p25g2000hsf.googlegroups.com...
> Hi!
>
> I am running SQL 2000 SP4.
> I have a table1 with about 6.5mil rows. I created another table
> (table2) and I needed to transfer all data from table1 to table2. I
> used DTS Import/Export feature however packages keeps running without
> any completion in the status it says Started (134000) and it doesn't
> go any further.
> I would assume that it transferred 133000 rows and is being stuck on
> 134000's but I don't know how to look for that row.
> My table structure as follows:
> Col1 (PK, char(50), not null)
> Col2 (PI, int, not null)
> Col3 (PK, datetime, not null)
> Col4 (float, not null)
> Only one clustered index defined on all primary keys.
> Is there a way for me to determine why the package is hanging on
> 134000 row and not going any further.
> T.
>
>

Hi

If these tables are in the same database or on the same server or on a
linked server you could use INSERT...SELECT instead with two/three or four
part names.

Does the destination table have the same PK?

If you create the table without this does it work?

You could try BCP and do it as a 2 stage process.

John

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09694 seconds with 10 queries