Knowledge Base

FIX: Updates with Foreign Key Constraint Cause Exception Error

Article ID: 155825

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q155825
BUG #: 15716 (Windows NT: 6.50)

SYMPTOMS

If a DB-Library browse mode client updates a row, and the table has a Foreign key constraint on any column, a handled exception error of the client thread on the computer running SQL Server occurs.

WORKAROUND

To work around this problem, either create a trigger to manage referential integrity (instead of using the Check constraint), or convert the application to use normal locking or cursors.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Additional query words: timestamp tsequal

Keywords: kbbug kbfix kbnetwork KB155825