Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Query on Primary key

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
sreenigacc

New User


Joined: 16 Oct 2007
Posts: 9
Location: bangalore

PostPosted: Tue May 06, 2008 8:47 pm    Post subject: Query on Primary key
Reply with quote

Hi,

I have a query on primary key. I have a table, which is having more than one primary key.

I mean there are 4 columns with primary key out of 76 columns in the table.

in that four columns any column can have the same data multiple times, but if we combine all these 4 columns then the data will be unique.

If it is the case, what we call this group of columns.

thanks in advance
sreenivasulu G
Back to top
View user's profile Send private message
References
PostPosted: Tue May 06, 2008 8:47 pm    Post subject: Re: Query on Primary key Reply with quote

Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 370
Location: India

PostPosted: Tue May 06, 2008 9:04 pm    Post subject:
Reply with quote

Composite primary key!
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 990
Location: Bangalore,India

PostPosted: Tue May 06, 2008 9:15 pm    Post subject:
Reply with quote

Hello Sreeni,

Its known as COMPOSIT PRIMARY KEY.
please read the manual befor posting .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1