Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

What is joins and where we use in CRM?

Posted on by 55

Hi

can you please any one explain me where we will use Joins in MS CRM

i know how to use joins in SQL Server but i font know in CRM

Thanks.

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: What is joins and where we use in CRM?

    Hi Srinivas ,

    Join in Dynamics CRM is similar concept like SQL Join . Dynamics CRM does not support direct access of  database while working on Dynamics CRM ,  For example I can say to retrieve related record let say you want to retrieve customer  information as well as customer order details using query. So you can retrieve data from entity many ways like using FetchXML , Query Expression , WEB API , Organization Service and also new XRM.WebAPI method .

    All the method having some pros and cons which you need to aware before using them. For example you can not do right outer join using FetchXML , where  as using query expression you can not do aggregation but fetchXML  you can do .

    Here is some of the reference you can go through -

    FetchXML-

    msdn.microsoft.com/.../gg328332.aspx

    QueryExpression -

    msdn.microsoft.com/.../gg328300.aspx

    WEB API-

    docs.microsoft.com/.../web-api-samples

    You can create API request very simple way using CRMRestbuilder  - download CRMRestBuilder and import the solution to your Dynamics 365 instance.

    github.com/.../CRMRESTBuilder

    For more information have a look below article -

    goutamdascrm.wordpress.com/.../why-dynamics-365-web-api

    Using Xrm.WebApi

    docs.microsoft.com/.../xrm-webapi

  • Sathiamoorthy S Profile Picture
    Sathiamoorthy S 1,616 on at
    RE: What is joins and where we use in CRM?

    Hi

    While creating the custom SSRS reports, We use INNER JOINs in MS CRM.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans