Microsoft KB Archive/240798

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:10, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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