Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

primary key

Former Member
0 Kudos

hi,

in a table how many primary keys are posiible

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

i think a table can have atmost 16 primary keys.

For further info on promary keys and foreign keys read this link.

http://cma.zdnet.com/book/abap/ch04/ch04.htm

Regards,

Aswin

5 REPLIES 5

Former Member
0 Kudos

Hi,

i think a table can have atmost 16 primary keys.

For further info on promary keys and foreign keys read this link.

http://cma.zdnet.com/book/abap/ch04/ch04.htm

Regards,

Aswin

Former Member
0 Kudos

Hi kiran,

1. As many as the number of fields in the table.

regards,

amit m.

0 Kudos

If I'm not wrong, a table can hv single primary key, but primary key may consists of multiple columns..

Former Member
0 Kudos

Hii Kiran,

<b>A maximum of 16 primary keys are allowed in any RDBMS table.</b>

Former Member
0 Kudos

Hi,

You can have as many primary key as possible equal to the number if fields in the table.

Regards,

Tanveer.

<b>Please make sure helpful answers.</b>