Reply to Re: usung GUIDs and php

Your name:

Reply:


Posted by Michael Fesser on 08/29/07 09:25

..oO(fjm67)

>Without getting into a Holy War, I have decided to use GUIDs as my PKs
>becuae there are limitations to INDENTITY datatypes and besides they
>are not very portable.

This just depends on the implementation. Instead of AUTO_INCREMENT using
a sequence to generate the ID before inserting the record could be
another option (MySQL doesn't support them natively like other DBMS, but
there are ways to emulate them).

The main problem with GUIDs as PKs is that they waste a lot of space for
nothing, even more if they're referenced as FKs.

Micha

[Back to original 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

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