The information in this article applies to:
BUG# 10388 (4.2) SYMPTOMS
Incorrect SQL is generated if Object Manager (OM) is used to generate an
insert trigger on a table containing a nullable foreign key.
This is incorrect since the clause to the right of the OR is an open join with the master table. Thus, it will result in a count of all records in master for each row with NULL row being added. WORKAROUND
A trigger to correctly check primary key/foreign key relationships can
be created using the following syntax:
STATUSMicrosoft has confirmed this to be a problem in SQL Object Manager version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: Windows NT
Keywords : kbprg kbtool SSrvObj_Man kbbug4.20 SSrvWinNT |
Last Reviewed: March 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |