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 > Data Access, Manipulation & Batch Languages > ANSI SQL > ERD + MS Access = MySQL DB?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-05, 14:29
Scareya Scareya is offline
Registered User
 
Join Date: Dec 2005
Posts: 5
ERD + MS Access = MySQL DB?

BACKGROUND:
I need to make a MySQL database that satisfies my ERD. I know MS Access somewhat well and can create the database that way, but it does not show supertypes/subtypes, barred relationships, non-transferrability (diamond), recursive relationships, and the optionality of the relationship.

I have a Access to MySQL programs that generates the SQL of the Access database.

I have phpmyadmin on the MySQL server I will be using. However, I cannot enter the foreign keys, etc. using phpmyadmin.

QUESTIONS:
1. How do I implement supertypes/subtype relationships using SQL?
2. How do I implement barred relationships using SQL?
3. How do I show foreign keys using SQL?
4. How do I show optionality of a relationship using SQL?
5. Are there any programs that convert an ERD to SQL?

Attached is the relationship window from Access and the ERD for the database if any one wants to take a look.

Thanks.
Attached Images
File Type: jpg access.JPG (22.0 KB, 1300 views)
File Type: jpg ERD1.JPG (32.7 KB, 282 views)
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