Application Development and Automation 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: 
Read only

primary key

Former Member
0 Likes
639

hi,

in a table how many primary keys are posiible

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
602

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
Read only

Former Member
0 Likes
603

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

Read only

Former Member
0 Likes
602

Hi kiran,

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

regards,

amit m.

Read only

0 Likes
602

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

Read only

Former Member
0 Likes
602

Hii Kiran,

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

Read only

Former Member
0 Likes
602

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>