• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to retrieve value of PK , when it is composed of more than one columns

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post
is there any way that we can retrieve value of PK for a row in tables ?
for example i have a table which its PK is composed of two field and now i want to store PK value for later use ( later use : I should delete some rows that i previusly stored their PK values) in one numeric field .

i should say that all PK are numeric as their used fields are numeric.

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raminaa,
No special way - just create an object to represent the primary key and store that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic