2007 Sep 18 6:51 AM
What is the maximum Number of primary keys we can hav in a database table ?
What is the maximum Number of primary keys we can hav in a database table ?
2007 Sep 18 6:56 AM
2007 Sep 18 6:58 AM
Hi,
No limitations on primary key fields. It will be based on field combination in table.
Hope this Info will help you .
Rewards points if Useful.
With Regards,
K K V
2007 Sep 18 7:01 AM
Hi,
There can be only one PRIMARY KEY per table.
You can have upto 16 fields in your primary key.
Regards,
Sesh
2007 Sep 18 7:18 AM
Hi Brahmaji,
In relational database design, a unique key or primary key is a candidate key to uniquely identify each row in a table. A unique key or primary key comprises a single column or set of columns. No two distinct rows in a table can have the same value (or combination of values) in those columns. Depending on its design, a table may have arbitrarily many unique keys but at most one primary key.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |