George's Bio  Bio    Blog    Articles    Books    Presentations RSS 2.0 Atom 1.0 CDF  
George Wesolowski's .NET Weblog - SQL Server Bulk Insert Woes ...
 
 Wednesday, November 15, 2006

Our recent conversion from SQL Server 2000 to SQL Server 2005 revealed a couple of issues with stored procedures that run BULK INSERT commands.  [These issues were not issues with under SQL Server 2000.]

1.  "Operating system error code 5(Access is Denied)" when attempting to execute this command using Windows Authentication.  This appears to be an impersonation / delegation issue that we believe we can fix with delegation.  [Stay tuned ...]

2.  Assorted format file errors "Invalid destination table column number ...", "Bulk load data conversion error (truncation)", etc.  We've been able to workaround these by increasing the column widths for some of the column definitions.

The moral of the story is to test everything that calls a BULK INSERT carefully as part of the upgrade process ...

11/15/2006 1:50:38 PM (Eastern Standard Time, UTC-05:00)  #       | 
Copyright © 2008 George D. Wesolowski
newtelligence dasBlog 1.8.5223.1