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 > DB2 > DB2 UDB -Replication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-04, 02:50
ADee ADee is offline
Registered User
 
Join Date: Jan 2004
Location: Karachi,pakistan
Posts: 17
DB2 UDB -Replication

Dear -alls,
In my Database there are few tables which have'nt any Key column/s, and when i go for replication then found its Mandatory to have a key column in a table to which I want to replicate - (DB2 UDB 7.2 replication scenario)- so if anyone here have any solution ? - i mean, i suppose to add key column in table or there is another way to do replication without it.
any help or guidance in this regard really appreciate.
Thank You.
__________________
A.Dee
Reply With Quote
  #2 (permalink)  
Old 01-28-04, 02:57
GertK GertK is offline
Registered User
 
Join Date: Nov 2003
Location: Netherlands
Posts: 96
Re: DB2 UDB -Replication

Quote:
Originally posted by ADee
Dear -alls,
In my Database there are few tables which have'nt any Key column/s, and when i go for replication then found its Mandatory to have a key column in a table to which I want to replicate - (DB2 UDB 7.2 replication scenario)- so if anyone here have any solution ? - i mean, i suppose to add key column in table or there is another way to do replication without it.
any help or guidance in this regard really appreciate.
Thank You.
No, you really need a primary key or a unique index on the table you want to replicate. If you update a row in the source database DB2 needs to know which row should be updated in the target database which isn't possible without a unique key.

Kind regards, Gert
Reply With Quote
Reply

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