Implement AKA in SQL Server Master Data Services

All we need is an easy explanation of the problem, so here it is.

I’m working with a bunch of scientists and we’re trying to implement a master data solution for the ingredients they use in formulations. The problem with their historic data is Scientist #1 will use Ingredient A but call it ‘Alpha 100’ while Scientist #2 will use Ingredient A and call it ‘A100’. We want to implement Master Data Services to make sure the way the materials are characterized scientifically is consistent and then develop a template that will force scientists to pick ingredients from a drop down. However, Scientist #1 will be looking for ‘Alpha 100’ and Scientist #2 will be looking for ‘A100’ in a dropdown, so I’m curious, is there a way to implement an AKA (also known as) solution is SQL Server Master Data Services?

I was thinking it could just be a bunch of extra attributes that can be null and then unpivot them in a view, but that doesn’t feel elegant.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

You would use a separate entity and a derived hierarchy.

Ingredient(Code, Name, ...)

IngredientAKA(Code, Name, Ingredient)

Where the Ingredient.Name is the "official" or "canonical" name, and IngredientAKA.Name is has all the alternate names.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply