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
505

Which of the folllowing type is taken as the default primary key

TYPE I

TYPE F

TYPE P

TYPE M

TYPE C

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
484

Hye,

Primary key is not taken by the Type definitions.

You have expilicity define a primary key for a Data base table. A pk is basically a key which is unique.

Go to SE11, there if you check the key Check box, that column will be the PK for the table.

Hope you understood, reward if helfpful.

Thanks,

Imran.

3 REPLIES 3
Read only

Former Member
0 Likes
485

Hye,

Primary key is not taken by the Type definitions.

You have expilicity define a primary key for a Data base table. A pk is basically a key which is unique.

Go to SE11, there if you check the key Check box, that column will be the PK for the table.

Hope you understood, reward if helfpful.

Thanks,

Imran.

Read only

Former Member
0 Likes
484

hi,

Any type defnition field can be taken as a primary key of a table ...

Regards,

Santosh

Read only

Former Member
0 Likes
484

Purpose of primary key is to identify a unique record.

It can be combination of one or more fields.

So primary key is based on the user's choice which u have to set while creating table.

Based on this one primary index table will be created to improve the access speed.