extrovertive Posted August 13, 2006 Share Posted August 13, 2006 I use primary key for to identitfy unique entry in the database.Under what circumstances, should I use "unique" and "index"? Link to comment https://forums.phpfreaks.com/topic/17439-unique-and-index-as-constraints/ Share on other sites More sharing options...
fenway Posted August 14, 2006 Share Posted August 14, 2006 Primary keys are always unique... use index if you can have duplicates. Link to comment https://forums.phpfreaks.com/topic/17439-unique-and-index-as-constraints/#findComment-74343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.