dbTalk Databases Forums  

BCP limit

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


Discuss BCP limit in the microsoft.public.sqlserver.dts forum.



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

Default BCP limit - 01-20-2005 , 11:21 AM






Does anybody knows what is the max number of rows when using BCP and if there
is any way to change it??

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

Default Re: BCP limit - 01-20-2005 , 01:51 PM






Max Number of rows?

I didn't think there was one (Unless constrained by the destination)

This page lists the parameters

mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%2 0Server\80\Tools\Books\coprompt.chm::/cp_bcp_61et.htm

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


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

Quote:
Does anybody knows what is the max number of rows when using BCP and if
there
is any way to change it??



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

Default Re: BCP limit - 01-24-2005 , 08:39 AM



There's a LASTROW parameter available in BCP via the command line. This
example:

bcp mydb.dbo.mytable in x:\dir\file.dat /T /n /L 4000

would load only the first 4000 rows from the file. You can also set a
similar parameter using the "bulk insert" task in DTS (but I have not tried
that myself). Hope this information helps you.

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

Quote:
Does anybody knows what is the max number of rows when using BCP and if
there
is any way to change it??



Reply With Quote
  #4  
Old   
aaron kempf via SQLMonster.com
 
Posts: n/a

Default Re: BCP limit - 01-25-2005 , 03:56 PM



i've done a billion rows i believe without a problem

--
Message posted via http://www.sqlmonster.com

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.