Article translations Article translations
Article ID: 196790 - View products that this article applies to.
This article was previously published under Q196790
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 53028 (SQLBUG_70)
Expand all | Collapse all


If you use the BULK INSERT command with the BATCHSIZE and LASTROW options in combination, the LASTROW command is ignored and all rows in the data file are imported.


Do not use BATCHSIZE in combination with the LASTROW option. Testing would seem to indicate, however, that if the batchsize is a 0 modulus of the lastrow, then the import will stop where requested.

You can also use the Bcp.exe command line utility as a workaround, if you need to use both the batchsize and lastrow arguments. Use the following command at an MS-DOS prompt:
bcp ?b<batch_size> -L<last_row>


Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
232570INF: How to Obtain Service Pack 1 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.


Article ID: 196790 - Last Review: October 26, 2013 - Revision: 3.0
Applies to
  • Microsoft SQL Server 7.0 Standard Edition
kbnosurvey kbarchive kbbug kbfix kbsqlserv700sp1fix KB196790

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from