Article ID: 275503 - Last Review: March 14, 2006 - Revision: 2.1 FIX: BCP Out Fails with Exception Error if You Use a Format File to Change Order of ColumnsThis article was previously published under Q275503
BUG #: 57401 (SQLBUG_70)
SYMPTOMS
If you use Bcp.exe to export a table to a flat file, the process may fail with an exception error if you use a format file to change the order of the columns during the export. The exception error occurs within the Bcp.exe file and the following error message appears:
The instruction at "memory_address" referenced memory at "memory_address". The memory could not be "written". WORKAROUND
Use a view to change the order of the columns to export. Then, use the view when you perform the bulk copy program and have the format file match the order of the columns in the view.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0.
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 274799
(http://support.microsoft.com/kb/274799/
)
INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
| Article Translations
|
Back to the top
