Home > Ask the SQL Server Experts > Tony Bain Questions & Answers > Cycle relationships in ER diagram?
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Cycle relationships in ER diagram?

Pat Phelan EXPERT RESPONSE FROM: Pat Phelan

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 18 September 2003
I have this ER diagram, which supposedly has two cycle relationships. I have doubts because one person says that it is indeed cycle relationships, and another person says that it does not. The diagram can be found at: http://www.jmontalvo.com/registrations1000x900.jpg.

>

You diagram is really hard to read on a 160 by 160 display, but the only circular reference I can see (where an entity contains its own Primary Key as a Foreign Key too) is AppUser. You could create a true circular reference there.

A cycle relationship is more complex, where some group of entities refer to each other in such a way that it is possible to create a "loop" of relationships that feed back into itself. There are several possible 1:N relationships that could generate a cycle, but I can't see how they would naturally assume a cycle.

The short answer is yes, a cycle is possible in more than one way, but I don't see how it would occur naturally.

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Tony Bain
Application not resolving username and password
Problems trying to install SQL Server on a two-node cluster on SAN
Error connecting to Web-based application
Conversion of char datatype to datetime datatype resulted in an out of range datetime value
Getting error when dropping, inserting into or truncating table with QA
Often used SP wiped out the database
Tony's SQL Server book for DBAs
Finding gaps in column of sequential numbers
Exporting T-SQL scripts from command line
Oracle SQL doesn't work in SQL Server

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts