Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 1999-06-27
Medium Priority
Last Modified: 2010-03-19
Why and when do I need to set relationships among tables ?

Question by:andrewyu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

lajpat earned 40 total points
ID: 1095976
In simplest way, Relationships among tables are put to insure integrity of data.
Like you will not like to have a Employee in a Emp table belonging to a department
which is not present in Department table.
Usually the relationships are created among the table when you create the tables.
As a matter of fact, you can add relations afterwards also, if you wish, provided the data in the table is accordance with the relations.


Author Comment

ID: 1095977
Thank you very much !

But, is it the same as what I did in FoxPro and Paradox ?

And will the relationship affect to the other connections ?


Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question