Q
Problem solve Get help with specific problems with your technologies, process and projects.

Maximun number of columns for a composite primary key

What is the maximum number of columns that can be used for creating a composite primary key?

An Oracle index, which is the structure that supports the Primary Key constraint, can have a maximum of 32 columns. This should be plenty to define your table's Primary Key. If it is not sufficient, then one might need to rethink the table design.

For More Information


This was last published in June 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close