November 22, 2002 at 10:29 am
Hey, anybody know which one of these is faster for importing data to a table?
November 22, 2002 at 10:54 am
Bulk insert is supposed to be faster - up to twice as fast, because it interacts with SQL Server at a lower level than BCP.
November 22, 2002 at 1:18 pm
I Would say bulk insert.If there are indexes on the table the inserts will become slow.
November 22, 2002 at 4:28 pm
BULK INSERT is faster but not considerably. if you want to insert from TSQL the use BULK insert if from DOS then use bcp. There is no benefit in trying to use BULK INSERT from DOS. Plus in BULK INSERT the file location is relative to the server, unlike bcp where its is relative to the client.
Simon Sabin
Co-author of SQL Server 2000 XML Distilled
http://www.amazon.co.uk/exec/obidos/ASIN/1904347088
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply