faqts : Computers : Databases : MySQL : Language and Syntax : Field Types : Primary Key

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

39 of 47 people (83%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Does MySQL automatically create an index for primary key columns?

Jan 23rd, 2000 18:22
Nathan Wallace, Sinisa Milivojevic


If you declare a column to be primary key, you will get an index on it.