all groups > sql server dts > january 2005 >
You're in the

sql server dts

group:

BCP limit


BCP limit AAugusto
1/20/2005 9:21:02 AM
sql server dts:
Does anybody knows what is the max number of rows when using BCP and if there
Re: BCP limit Allan Mitchell
1/20/2005 7:51:53 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%20Server\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


[quoted text, click to view]

Re: BCP limit DHatheway
1/24/2005 8:39:08 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.

[quoted text, click to view]

Re: BCP limit aaron kempf via SQLMonster.com
1/25/2005 9:56:54 PM
i've done a billion rows i believe without a problem

--
AddThis Social Bookmark Button