The information in this article applies to:
BUG #: 56148 (SQLBUG_70) SYMPTOMS
The SQL Server ODBC Bulk Copy API doing file operations to import data
can end with one or more 'Unexpected End Of File(EOF)' errors if the file is 4 GB or larger and contains a NULL value to be imported.
CAUSE
When checking to ensure the correct file position is maintained when a NULL is located, only the low-order doubleword of the file size is interrogated by the SQLSRV32.dll driver.
The BCP check fails when the position you are currently reading exceeds the low-order doubleword boundary. The first example fails when the first NULL is encountered after importing 1 GB worth of data from the file. The second would be 3.5 and so forth.
RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next SQL Server service pack
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later: NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.WORKAROUND
Keep the file size under 4 GB in size.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. MORE INFORMATIONAll files types (native, character, with format file) are affected if a NULL exists that is to be imported. Additional query words:
Keywords : kbSQLServ700bug |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |