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 > General > Database Concepts & Design > how to represent constraints in an ER diagram?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-16-06, 15:22
krishna17 krishna17 is offline
Registered User
 
Join Date: Feb 2006
Posts: 18
how to represent constraints in an ER diagram?

I WOULD LIKE TO KNOW HOW TO REPRESENT ANY KIND OF CONSTRAINT IN AN ER DIAGRAM?
CAN WE REPRESENT EVERYTHING IN AN ER DIAGRAM i.e EVERY CONSTRAINT CAN IT BE REPRESENTED IN AN ER DIAGRAM?IF SO HOW?
ARE THERE ANY SET OF RULES WHICH WE CAN FOLLOW AND TELL WHETHER A CONSTRAINT CAN BE REPRESENTED IN AN ER DIAGARM?

I WOULD REALLY APPRECIATE IF SOMEONE GIVES ME PICTORIAL REPRESENTATIONS USING ER DIAGRAMS TO SHOW CONSTRAINTS.

THANK YOU
KRISHNA
Reply With Quote
  #2 (permalink)  
Old 03-17-06, 05:58
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Not all constraints can be shown in an ER diagram. You can usually show the primary unique identifier, and of course foreign keys (as relationships). You can also show cardinality rules on relationships. You can't show check constraints and multi-table constraints other than foreign keys (such as: "no two periods of assignment for an employee may overlap")

I can't help with the pictorial examples, as I personaly use Barker notation which seems to be peculiar to Oracle and is probably not what you would be using.

BTW, is your CAPS LOCK KEY STUCK DOWN?
__________________
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