dbTalk Databases Forums  

urgent help--extra rows occur during bcp

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


Discuss urgent help--extra rows occur during bcp in the microsoft.public.sqlserver.dts forum.



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

Default urgent help--extra rows occur during bcp - 11-18-2003 , 08:47 PM






Hi,

I am trying to bcp out one table from one server to
another server:

bcp "dbname.dbo.tablename"
out "\\remoteservername\remoteserver_SHAREdrivename\bc p
process\tablename.txt" -Sremoteservername -N -T
Quote:
BCPOUT_tablename.LOG
I ran the code in command promp.

this table only have 600,000 rows, but the bcp log shows
that it has bcp over 700,00 rows and still going!! I had
to kill the process.

What's going on?

many thanks!!

JJ



Reply With Quote
  #2  
Old   
Ryan Waight
 
Posts: n/a

Default Re: urgent help--extra rows occur during bcp - 11-19-2003 , 03:55 AM






It's worth double checking how many rows are in the table :-

SELECT COUNT(*) FROM tablename
sp_spaceused tablename

--
HTH
Ryan Waight, MCDBA, MCSE

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

Quote:
Hi,

I am trying to bcp out one table from one server to
another server:

bcp "dbname.dbo.tablename"
out "\\remoteservername\remoteserver_SHAREdrivename\bc p
process\tablename.txt" -Sremoteservername -N -T
BCPOUT_tablename.LOG

I ran the code in command promp.

this table only have 600,000 rows, but the bcp log shows
that it has bcp over 700,00 rows and still going!! I had
to kill the process.

What's going on?

many thanks!!

JJ




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.