Microsoft.SqlServer.Management.SqlParser 170.7.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 6.0 .NET Standard 2.0 .NET Framework 4.6.2
dotnet add package Microsoft.SqlServer.Management.SqlParser --version 170.7.0
NuGet\Install-Package Microsoft.SqlServer.Management.SqlParser -Version 170.7.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="Microsoft.SqlServer.Management.SqlParser" Version="170.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SqlServer.Management.SqlParser --version 170.7.0
#r "nuget: Microsoft.SqlServer.Management.SqlParser, 170.7.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.
// Install Microsoft.SqlServer.Management.SqlParser as a Cake Addin
#addin nuget:?package=Microsoft.SqlServer.Management.SqlParser&version=170.7.0

// Install Microsoft.SqlServer.Management.SqlParser as a Cake Tool
#tool nuget:?package=Microsoft.SqlServer.Management.SqlParser&version=170.7.0


This assembly provides basic syntax parsing and binding for the TSQL language for many versions and editions of Microsoft SQL Server and Azure SQL Database.

Localized resource DLLs are provided in a companion package

Getting started

For basic syntax parsing of a TSQL fragment, use

public static Microsoft.SqlServer.Management.SqlParser.Parser.ParseResult Parse (string sql, Microsoft.SqlServer.Management.SqlParser.Parser.ParseOptions options, out Microsoft.SqlServer.Management.SqlParser.Parser.ParseOptions resultOptions);
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

NuGet packages (14)

Showing the top 5 NuGet packages that depend on Microsoft.SqlServer.Management.SqlParser:

Package Downloads

Package for developing DOS engine plugins based on the SQL Server system support


This .NET library simplifies data mocking for UnitTests, to avoid a connection to a relational database. DbMocker use the standard Microsoft .NET DbConnection object. So, you can mock any toolkit, including EntityFramework, Dapper or ADO.NET; And for all database servers (SQL Server, Oracle, SQLite). ``` var conn = new MockDbConnection(); conn.Mocks .When(cmd => cmd.CommandText.Contains("SELECT COUNT(*) FROM EMP")) .ReturnsScalar(14); ```


Query Structure Interface of SqlServer

Microsoft.SqlServer.Management.SmoMetadataProvider The ID prefix of this package has been reserved for one of the owners of this package by

Supports language service implementations by providing SQL Server metadata for completing TSQL statements.


D365 CE command console framework for batch jobs.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.SqlServer.Management.SqlParser:

Repository Stars
SQL Tools API service that provides SQL Server data management capabilities.
DBA Dash - SQL Server Monitoring Tool
This repository contains .NET documentation related to Windows Forms (winforms) and Windows Presentation Foundation (WPF).
Sql Management Objects, an API for scripting and managing SQL Server and Azure SQL Database
Version Downloads Last updated
170.7.0 965 3/21/2023
160.22524.0 22,014 1/5/2023
160.22519.0 49,695 10/24/2022
160.22516.0 9,572 10/14/2022
160.22515.0 41,413 8/11/2022
160.22510.0 557 8/11/2022
160.22506.0 63,501 5/25/2022
160.22504.0 64,846 2/14/2022
160.21323.56 2,477 3/10/2022
160.21292.55 84,479 10/26/2021
160.21267.51 15,587 10/6/2021
160.21099.39 472,952 4/22/2021
160.20216.14 2,406,613 8/3/2020
150.37051.0 1,120,484 3/10/2020
150.35031.0 22,973 1/8/2020

See file in the package