MarkMpn.SQL4CDS 10.4.0

dotnet add package MarkMpn.SQL4CDS --version 10.4.0
                    
NuGet\Install-Package MarkMpn.SQL4CDS -Version 10.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MarkMpn.SQL4CDS" Version="10.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MarkMpn.SQL4CDS" Version="10.4.0" />
                    
Directory.Packages.props
<PackageReference Include="MarkMpn.SQL4CDS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MarkMpn.SQL4CDS --version 10.4.0
                    
#r "nuget: MarkMpn.SQL4CDS, 10.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MarkMpn.SQL4CDS@10.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MarkMpn.SQL4CDS&version=10.4.0
                    
Install as a Cake Addin
#tool nuget:?package=MarkMpn.SQL4CDS&version=10.4.0
                    
Install as a Cake Tool

SQL 4 CDS allows you to use standard SQL syntax to query and manipulate your data and metadata in Dataverse / D365.

Supports
- SELECT
- INSERT
- UPDATE
- DELETE

Where possible the queries are converted to FetchXML, allowing you to generate FetchXML queries for
plugins or integrations by writing familiar SQL and converting it.

Queries can also run using the preview TDS Endpoint. A wide range of SQL functionality is also built
in to allow running queries that aren't directly supported by either FetchXML or the TDS Endpoint.

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.4.0 2,031 5/21/2026
10.3.0 19,650 2/3/2026
10.2.0 8,701 12/23/2025
10.1.1 9,164 11/3/2025
10.1.0 16,227 9/2/2025
10.0.0 10,313 7/18/2025
9.6.1 15,308 4/30/2025
9.6.0 15,364 2/22/2025
9.5.1 13,994 12/12/2024
9.5.0 2,272 12/10/2024
9.4.1 8,658 11/10/2024
9.4.0 2,390 11/5/2024
9.3.0 16,232 8/27/2024
9.2.0 9,653 7/12/2024
9.1.0 8,492 6/10/2024
9.0.1 8,028 5/8/2024
9.0.0 2,212 5/2/2024
8.0.0 21,045 11/25/2023
7.6.1 9,734 10/16/2023
7.6.0 5,084 9/30/2023
Loading failed

New features:
* Allow showing results as text
* Display results incrementally as rows are returned rather than waiting for the whole result set to be available
* Load data from local files using `OPENROWSET(BULK)` function
* Added `ABS`, `SIGN`, `CEILING`, `FLOOR`, and `ROUND` functions (thanks @sulimanbenhalim)
* Added `defaultstatus`, `invariantname`, `state` and `transitiondata` columns to `metadata.optionsetvalue` table to show values from state and status code optionsets

Enhancements:
* Improved folding additional filters after extracting join criteria
* Improved error handling for unnamed and missing columns in subqueries
* Improved error handling for invalid constants while building query plan

Bug fixes:
* Fixed missing values from `from` and `to` fields with aliased joins
* Fixed JSON serialization of nested Entity/EntityCollection values in expando API responses
* Fixed joins with additional filter criteria on virtual entities
* Fixed aggregate query generation for `activitypointer` and elastic tables