Thank you!!
Main Topics
Browse All TopicsIf I run this query on my database:
DELETE from products
WHERE id='30'
I get this error:
Delete statement conflicted with COLUMN REFERENCE constraint 'FK_product_g_prudu_OF5829
So somehow it's conflicting with the table product_group_member. I thought it was because there was no product_id 30 in that table, but using a number that appears in that table also doesn't work. I get the same error if I try the query from another source, so I know it's not my SQL client in this case. Has anyone seen this before? Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: BriCrowePosted on 2006-02-18 at 18:00:37ID: 15992200
You have referential integrity enforced on the 'FK_product_g_prudu_OF5829 57' relationship between your products table and your product_group_member table. You either need to delete the records from product_group_member that are referencing ed 30 in the products table, remove the relationship, or enforce cascading delete so that the corresponding records in product_group_member are automatically deleted when the parent record in products is deleted.