| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: foreign vs primary key
Ewald Börger wrote:
> mikeg wrote:
>
>>identify the foreign key? How are they used? Aren't primary keys enough?
Don't mess two issues. Your SQL Server database may be ill designed, but FKs are essential. Each FK you fail to declare is either a potential integrity danger to your database, or (and) lots of procedural, hard-to-optimize code you have to keep at the application layer.
MySQL isn't a proper SQL -- not even a proper DBMS, much less RDBMS.
-- _ / \ Leandro Guimarães Faria Corsetti Dutra +55 (11) 246 96 07 \ / http://geocities.com./lgdutra/ BRASIL +55 (43) 322 89 71 X http://tutoriald.sourceforge.net./ mailto:lgcdutra@terra.com.br / \ Campanha fita ASCII, contra correio HTML mailto:leandrod_at_mac.comReceived on Thu Sep 20 2001 - 16:35:08 CDT
![]() |
![]() |