BUG: INSERT..EXEC That Attempts to Insert a Record That Violates a Foreign Key Constraint Causes AV (264189)
The information in this article applies to:
This article was previously published under Q264189
BUG #: 18985 (SQLBUG_65)
SYMPTOMS
When you run an INSERT..EXECUTE statement that attempts to insert a record that violates a foreign key constraint, a handled access violation (AV) may be generated.
WORKAROUND
Use an INSERT..SELECT statement instead.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 6.5.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbBug kbpending KB264189 |
---|
|