Micro Niche Builder
Closed Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: SQL Server relationship

  1. #11

    Default

    Hi,

    Using a primary key @ master table is to create the relationship for the child tables. You can create a primary key as well as foreign key for one table. The main purpose of foreign key is the entity relationship only

  2. #12

    Exclamation

    Quote Originally Posted by anurdh65 View Post
    Hi,

    Using a primary key @ master table is to create the relationship for the child tables. You can create a primary key as well as foreign key for one table. The main purpose of foreign key is the entity relationship only
    yes i got a little bit more idea for that...
    but my confusion is that should i have both key in the same table or i can make both key in different table also...???
    and primary key must be unique..???

  3. #13

    Default

    Quote Originally Posted by donald View Post
    hey what is the benefit to create a primary key in master table...?
    can't i make it in my 2nd table??
    and i am facing problem while making foreign key...
    please can you tell me how it can be created...???
    If you are making primary key for master table it is called parent and if you are making primary key for other table it is called foreign key.....

  4. #14

    Default

    To create relationship between the database tables, go to diagrammaic representation of the databases. and then add which tables you wants to relation and thecreate relationships between them.

Closed Thread
Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Do you need a Dedi Server!
    By tinyy in forum Dedicated Servers
    Replies: 6
    Last Post: 01-30-2010, 05:55 AM
  2. backup server?
    By ankur0412 in forum Dedicated Servers
    Replies: 1
    Last Post: 11-15-2009, 04:42 AM
  3. How to build a relationship with your subscribers!
    By Mech in forum Internet Marketing Forum
    Replies: 2
    Last Post: 03-27-2009, 12:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts