web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

how to get lookup name from sql for crm premise 2013?

(0) ShareShare
ReportReport
Posted on by 670

how to get lookup name from sql because i want display name in report but here system(crm) automatically saved as encrypted data in sql  .please find below screenshot file .here new_customer fields is encrypted but i want display names how it is possible ?if anyone know please help me

sqlencrypt.JPG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ganesh Chowhan Profile Picture
    160 on at

    Hi,

    This is how CRM stores lookup field value in GUID format in database table.
    Please use FilteredTableName (Filterednew_customerservicereport) from table name clause and use "new_CustomerName" column name to get text field value. (concate Name after column name)

    select new_Customer, new_CustomerName FROM Filterednew_customerservicereport.
    new_Customer will give you GUID of the lookup record.
    new_CustomerName will give you text of lookup record.

    Thanks.
    Ganesh

  • account payable Profile Picture
    670 on at

    Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans