DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 10th, 2006, 10:56 AM
pdcasson pdcasson is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 1 pdcasson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 2 sec
Reputation Power: 0
Get Primary Keys

Hi,
I'm new to DB2 and am currently trying to produce a database relationship diagram for a DB2 database. Could anyone tell me how i find out what primary keys are in a specific table. i only know SQL where you enter 'describe <tablename>;'
I know how to do this in the control center but is there a way you can do it via a command line in unix?

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Get Primary Keys


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway