X146: Violation of constraint between key key1 and key key2.

An attempt to update, insert or delete a record violates a FOREIGN KEY constraint involving the keys listed. See the ALTER command description in the SQL Reference for a description of FOREIGN KEY.
Restriction: This topic applies to Windows environments only.