Microsoft KB Archive/240798

= FIX: Insert from Linked-Server Into Table with BIT Field Having a DEFAULT Constraint Causes AV =

Article ID: 240798

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q240798



BUG #: 56233 (SQLBUG_70)



SYMPTOMS
Inserting a row into a local table that has a BIT column, which has a DEFAULT constraint, may cause an access violation (AV) if the following are true:
 * The inserted value comes from a linked server table.
 * There is no specified value for the BIT column, hence, the DEFAULT expects to be used.



WORKAROUND
Change the BIT column to CHAR or some other datatype that satisfies the business requirement.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Keywords: kbbug kbfix KB240798

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.