Skip to main content

Microsoft.SqlServer.Management.SqlParser provides T-SQL parsing functionality.

Total Downloads
10.6M
10,556,307
Published
Sep 30, 2026
1mo ago

Get Started

dotnet add package Microsoft.SqlServer.Management.SqlParser --version 180.9.0
ProductVersions
.NET
net6.0net8.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Microsoft.SqlServer.Management.SqlParser

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);

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.