IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query on Primary key


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sreenigacc

New User


Joined: 16 Oct 2007
Posts: 15
Location: bangalore

PostPosted: Tue May 06, 2008 8:47 pm
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
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

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

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

Moderator


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

PostPosted: Tue May 06, 2008 9:15 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Cobol prog to put an indicator on the... JCL & VSAM 1
Search our Forums:

Back to Top