Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

how to maintain foreign keys in MDS& DQS?

$
0
0

Hi,

i have two entities - Address with 5 attributes (Code,Address_key, county,state,zip) and Member with 7 attributes  (Code,first_name,last_name,middle_name,gender,dob,address_key). the Code in Address entity is same as Address_key attribute in that table. the code in Member entity is seq. number. Both entities are related with address_key domain-based attribute.

i also have match&merge rule sets on Address entity in DQS.

now, i have two records in my database, Address table with address_key 101,102 but with same county,state,and zip. And two corresponding records one with address_key 101 and another record with 102 in Member table. after applying match&merge logic on Address table, only one record with address_key=101 is selected as survivorship  record by DQS because  their county,state,zip are same. 

when i try to load these records into MDS entity, the member record with address_key=102 validation is failed because its domain-based key is missing in Address entity. 

So, how to handle this situation in MDS? is there any mechanism in MDS? (or) is there anything wrong in my design? Please advise. 



Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>