Hello. I am administering a CRM 4.0 system. I have been running a number of SQL queries in SQL Server on the <my_org>_MSCRM database. The case (incident) entity has a lookup field which is linked to a custom entity called Town. There are a number of case records that have been created by end users with the Town field filled in. Using SQL queries on the CRM database server, I have been trying to retrieve the Town value (as it would appear in the end user's case when opened in CRM). The closest I have got is retrieving the GUID values for the Town field using IncidentExtensionBase.new_townid. I could not find a field which gives the Town name. Using an SQL query how could one retrieve the Town name?
*This post is locked for comments