You are here: Re: Recursive SQL Command Help « PHP SQL « IT news, forums, messages
Re: Recursive SQL Command Help

Posted by Hilarion on 10/13/12 11:25

> Hilarion I am looking at your current suggestion. I am using phpMyAdmin
> to interface with my database currently, its a MySql engine.


On MySQL InnoDB tables (only!) you can use FOREIGN KEY with ON DELETE CASCADE
(from version 3.23.50). To create this constraint you are required to create
indexes on the referenced fields (separate index for "Parent" and separate
index for "SectionID"). In versions 4.1.2 (and newer) the index on referencing
column ("Parent") will be created automatically (if it does not exist).


Hilarion

 

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

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