Skip to content
Primary Menu
  • Home
  • About
  • Blog
  • Tools
  • Twitter
  • LinkedIn
  • GitHub
Mark Carrington

Data, D365, Diabetes, Lego, …

SQL 4 CDS v9.6 released

Lots of new possibilities for working with your Dataverse data with this latest update! (more…)

Read More

SQL 4 CDS v9.5 Released

Updates to SSMS compatibility, bulk operations, optionset metadata access & more... (more…)

Read More

SQL 4 CDS v9.4 Released

I was reviewing some incredible usage stats for SQL 4 CDS recently which showed that UPDATE statements make up almost

Read More
Category: FetchXML/MSDyn365

Inside FetchXML pt 9 – distinct

Posted On 3rd April 202028th September 2020 By Mark Carrington12 Comments

You can ensure your query only produces each row once using the distinct attribute. For example, if you have multiple entries for the same company name you can get the list of unique names using:

Category: FetchXML/MSDyn365

Inside FetchXML pt 8 – page, count & top

Posted On 1st April 202028th September 2020 By Mark Carrington4 Comments

By default you’ll get up to 5,000 records that match your query. The top-level <fetch> element supports a few options to help you control this:

Category: FetchXML/MSDyn365

Inside FetchXML pt 7 – rowaggregate

Posted On 29th March 202028th September 2020 By Mark Carringtoncomment

If you’re using any hierarchies in your data, you’ve probably noticed the icon in your main grid views that you can click on to show the hierarchy view when records have a parent or children. It’s simple to work out if a record has a parent – just check if Continue Reading

Category: MSDyn365/SQL 4 CDS

SQL 4 CDS 1.0.9 Released!

Posted On 3rd February 202028th September 2020 By Mark Carrington2 Comments

I’ve just released SQL 4 CDS 1.0.9. Please update it when XrmToolBox prompts you to take advantage of these latest features:

Category: FetchXML/MSDyn365

FetchXML Multiple Links

Posted On 13th January 202028th September 2020 By Mark Carringtoncomment

One common pattern of queries I see about FetchXML is how to write queries to ask two different questions about the same related entity. For example: Invoices that include product A AND product B? Contacts that have pending emails AND no sent emails? Visits that have a page view of Continue Reading

Category: MSDyn365/SQL 4 CDS

SQL 4 CDS 1.0.6 Released!

Posted On 10th January 202028th September 2020 By Mark Carrington23 Comments

I’m very pleased to announce the release of SQL 4 CDS version 1.0.6! Please update your existing versions in XrmToolBox to get some great new features…

Category: FetchXML/MSDyn365

Inside FetchXML pt 6 – datetime grouping

Posted On 6th January 202028th September 2020 By Mark Carrington12 Comments

Last time I looked at aggregates, but unforgivably I missed out how to apply grouping to date/time attributes:

Category: FetchXML/MSDyn365

Inside FetchXML pt 5 – aggregate

Posted On 17th December 201928th September 2020 By Mark Carrington16 Comments

One feature of FetchXML that sets it apart from other CDS query options is aggregates. This is the option to get summary data (number of records, sum of opportunity value etc.) rather than the individual values from each record. If your only concept of how many records you have is Continue Reading

Category: FetchXML/MSDyn365

Inside FetchXML pt 4 – order

Posted On 10th December 201928th September 2020 By Mark Carrington8 Comments

It’s often important to sort the results of your query, and in FetchXML you can do this with the <order> element. This is equivalent to the ORDER BY clause in SQL.

Category: FetchXML/MSDyn365

FetchXML Builder Updates

Posted On 9th December 201928th September 2020 By Mark Carringtoncomment

I’m very proud to have some more of my contributions included in the latest release of the popular FetchXML Builder tool!

Posts navigation

Previous 1 … 11 12 13 14 Next

Copyright © All rights reserved Theme: Infinity Blog by Themeinwp