You are here: How do I find out what foreign keys depend on this roy? « PHP SQL « IT news, forums, messages
How do I find out what foreign keys depend on this roy?

Posted by laredotornado on 07/25/06 15:19

Hi, Using PHP 4, MySQL 4, I'm getting an error when executing an SQL
statement:

Statement failed "DELETE FROM USERS WHERE USER_ID = 17" - Cannot delete
or update a parent row: a foreign key constraint fails

How can I query the SQL database to figure out what parent row the
statement is complaining about?

Thanks,-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация