Thursday, September 29, 2011

Where is the License Key in the Crm 2011 Database?

In Crm 4, you could get the license key by executing the following SQL:

SELECT LicenseKey FROM ConfigSettings

This value is now null is Crm 2011.  The new column name is LicenseKeyV5RTM.

So the new Select statement is:

SELECT LicenseKeyV5RTM FROM ConfigSettings

Hope this saves someone some time.

--Scott