?
Solved

Bulk Insert only append 10000 records

Posted on 2006-11-11
1
Medium Priority
?
237 Views
Last Modified: 2008-02-01
Hi,

I am using SQL Server Bulk Insert to insert a comma delimited file of 20000 records, but every time only 10000 records been inerted to the destination table. Anybody has the similar problem or solutions?

Thanks
Ourselves
0
Comment
Question by:ourselves
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
udayshankar earned 150 total points
ID: 17921043
check the following..
db size
check for errors in the source file. may be there is some data ype mismatch/ corrupt data in the source at that line.
use DTS in sql server to import that file, when it errors out it will give you the line #

hope this helps..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question