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 > Database Server Software > Microsoft SQL Server > Replication: @join_unique_key Parameter and Many-to-Many Relationships

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-09, 13:16
Leila25 Leila25 is offline
Registered User
 
Join Date: Nov 2009
Posts: 1
Replication: @join_unique_key Parameter and Many-to-Many Relationships

Hi all,

To explain my question, imagine there are three tables: Authors, Titles and TitleAuthor.

Author_ID column is the PK on Authors.

Title_ID column is the PK of Titles.

And TitleAuthor table is junction table between Authors and Titles (Many to many relationship). I want to include these three tables in one publication and filter Authors on the City column.

In New Publication Wizard (filter section) I add Authors and filter it on City column. Then add a join to TitleAuthor and mark “Unique Key” check box. Then I add Titles table below TitleAuthor as new join. I’d like to know that whether I must mark “Unique Key” check box for this join too or I must avoid it.

In my ERD, Titles is parent of TitleAuthor but in mentioned wizard (filtering), Titles appears like child of TitleAuthor. I’m not sure if “Unique Key” check box should be checked for this case.

Many thanks in advance,

Leila
Reply With Quote
Reply

Tags
replication

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