You are here: Re: MySQL and foreign keys « PHP Programming Language « IT news, forums, messages
Re: MySQL and foreign keys

Posted by Erwin Moller on 09/14/05 11:09

Steve wrote:

>
>> I was baffled to see that I can make Foreign Keys, but they are actually
>> never checked by the mySQL engine.
>
>> Am I mad, or does MySQL not support Foreign Keys?
>> And if so: Why is it that MySQL is so popular?
>
> Erwin:
>
> It depends what table type you are using. MySQL lets you specify
> foreign keys for compatibility, but ignores them unless you are using
> InnoDB tables.
>
> The main reasons for widespread MySQL adoption? It is fast and simple,
> it has (or had) better documentation and support, lots of 3rd party
> tools. For lightweight web apps where you don't need transactions it is
> a good choice.
>
> ---
> Steve

Thank you Steve. InnoDB-tables solves that problem.
Now I have to contact that provider to ask them to implement it, or just
learn my friend to program wisely so he doesn't need FK's.
:-)

Thanks.

Regards,
Erwin Moller

 

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

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