Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

multiple columns primary key

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
diksha_s
Warnings : 1

New User


Joined: 06 Jul 2005
Posts: 4

PostPosted: Mon Aug 29, 2005 10:41 am    Post subject: multiple columns primary key
Reply with quote

Hi folks!

I have the following query regarding primary keys:

How do we declare in a COBOL pgm embeded sql a primary key which is made up of mutilple columns in a table?

Please give details as well.

Thanks

Diksha
Back to top
View user's profile Send private message

atik

New User


Joined: 29 Jul 2005
Posts: 20

PostPosted: Mon Aug 29, 2005 10:56 am    Post subject:
Reply with quote

Can you be clear in the question? what is the query for? If the primary key values you are passing in where clause then you will get single row as resultant table, no need to delare..
Back to top
View user's profile Send private message
johnsingh

New User


Joined: 11 May 2005
Posts: 22

PostPosted: Fri Sep 09, 2005 12:46 pm    Post subject:
Reply with quote

hi,

not getting yours question, please, clarify yours question.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us