If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > ERD's and Server Model Diagrams

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-03, 07:38
larryb larryb is offline
Registered User
 
Join Date: Oct 2002
Posts: 5
ERD's and Server Model Diagrams

Why is it that when a ERD get passed thru the Database Design Transformer the resultant relational tables that are displayed on the Design Editor(Server Model,Relational Tabel Definition) have new attribute columns that I never included. They appear to be foreign key attributes, but I've already defined the attribute fields when I developed the ERD. Is there a way to stop this?
Thanks,
Larry
Reply With Quote
  #2 (permalink)  
Old 01-31-03, 08:00
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Re: ERD's and Server Model Diagrams

Quote:
Originally posted by larryb
Why is it that when a ERD get passed thru the Database Design Transformer the resultant relational tables that are displayed on the Design Editor(Server Model,Relational Tabel Definition) have new attribute columns that I never included. They appear to be foreign key attributes, but I've already defined the attribute fields when I developed the ERD. Is there a way to stop this?
Thanks,
Larry
When using the ERD, you should not define attributes for foreign keys, just define the relationships. The transformer automatically creates the necessary columns in the tables.

Simple example ERD:

Dept( deptno(UID), dname ) --< Emp( empno(UID), ename )

== TRANSFORM ==>

Table DEPTS( deptno(PK), dname );
Table EMPS( empno(PK), ename, deptno(FK to DEPTS));
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On