Results 1 to 5 of 5
  1. #1
    eliok56 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2018
    Posts
    2

    relationships

    hello
    is the relation between 2 primary keys- (pk to pk ) not (pk to fk)- is always of type 1 to 1 ?
    yes or no ?
    please explain
    thanks

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    yes 1-1. you can only add the 1 record with the same key.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850

  4. #4
    eliok56 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2018
    Posts
    2
    Hey ranman.thx for your reply .
    My question is: is it always 1 to 1 or it can be 1 to many.
    I need an answer from an expert plz. With prove.
    Thx a lot..regards.

    Quote Originally Posted by ranman256 View Post
    yes 1-1. you can only add the 1 record with the same key.

  5. #5
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,706
    Primary keys are unique within the same table. So, the only configuration possible is 1-to-1.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 08-05-2016, 11:53 AM
  2. Replies: 2
    Last Post: 07-27-2016, 10:25 AM
  3. Relationships
    By stevieleser in forum Database Design
    Replies: 13
    Last Post: 10-29-2014, 02:21 PM
  4. Explicit Relationships and Implicit Relationships
    By Dazza666 in forum Database Design
    Replies: 2
    Last Post: 07-17-2013, 02:11 AM
  5. Relationships
    By neo651 in forum Database Design
    Replies: 2
    Last Post: 08-30-2011, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums