From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8dc0,197c8d066d66bec2 X-Google-Attributes: gidf8dc0,public X-Google-Thread: fc7fa,197c8d066d66bec2 X-Google-Attributes: gidfc7fa,public X-Google-Thread: f7344,197c8d066d66bec2 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2003-05-25 16:27:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Jefferson Humber" Newsgroups: comp.databases.rdb,comp.os.vms,comp.sys.vms Subject: Re: Help maping RDB Date: Sun, 25 May 2003 23:26:25 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-152-231-202.range81-152.btcentralplus.com X-Trace: hercules.btinternet.com 1053905185 23316 81.152.231.202 (25 May 2003 23:26:25 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sun, 25 May 2003 23:26:25 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.databases.rdb:828 comp.os.vms:121352 Bayden, I use the following; SQL> SHOW TABLE(CONSTRAINT) table_name Do this on all your tables. From here you can see what the foreign keys reference. After you have worked this out, you can sketch an ERD fairly easily. Simple yet effective, Jeff "bayden cline" wrote in message news:AIaAa.262748$w7k.23230@news04.bloor.is.net.cable.rogers.com... > Hello, i am trying to figure out a way to map out how the various tables in > an RDB 5.1 database are linked together, just wondering if anyone here has > any sujestions for how to do this. Thanks in advance > > bayden > > > >