Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Microsoft Dynamics CRM store OptionSet values in SQL Server?

Tags:

I'm doing a data migration in to Microsoft Dynamics CRM 2011 and need to perform reconciliations against the source to ensure that everything loaded successfully.

To do this I am querying the SQL directly in SQL Server, but I can't seem to find where the OptionSet data is stored. Does anyone know what table(s) it's stored in?

like image 272
Commander92 Avatar asked Sep 07 '11 05:09

Commander92


People also ask

How is data stored in Microsoft Dynamics?

As a Dynamics 365 user, your data will be stored at one of Microsoft's large data centers. These centers are located around the world. Microsoft allows you to determine exactly where your data will be stored based on information about which services you are using and where your business is located.

What database does Microsoft CRM use?

The Microsoft Dynamics AX database is a relational database. Microsoft Dynamics AX supports Microsoft SQL Server and Oracle databases. In addition to standard relational database functionality, you can do the following: View historical data by using cubes.


1 Answers

These are all stored in the StringMapBase table. You'll query via object type code of the entity, attribute name, option set value and language and that'll give you the display value of the attribute.

like image 143
Matt Avatar answered Sep 18 '22 14:09

Matt