Projects
View on GitHub
bruce-dunwiddie/tsql-parser
bruce-dunwiddie/tsql-parser has 337 GitHub stars and 57 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-22 18:57 UTC. Last push 2024-06-19.
What you can do
- Full T-SQL token implementation.
- Streaming tokenizer for parsing scripts into tokens.
- Returns tokens of type characters, comments, identifiers, keywords, literals, variables, and operators.
- Handles both single line and multi line comments.
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Library Written in C# For Parsing SQL Server T-SQL Scripts in .Net
DataREADME.md
Originaltsql-parser
Library Written in C# For Parsing SQL Server T-SQL Scripts in .Net
Available on Nuget, TSQL.Parser.
Install-Package TSQL.Parser
Current Features
- Full T-SQL token implementation.
- Streaming tokenizer for parsing scripts into tokens.
- Returns tokens of type characters, comments, identifiers, keywords, literals, variables, and operators.
- Handles both single line and multi line comments.
- Select, Insert, Update, Delete, and Merge statement parsers.
- .Net Framework 4.0+ and .Net Core 2.0+ compatible.
Code Samples
- See wiki for simple code examples and output.
- See test cases in project.
Class Documentation
Some Possible Current Uses
- Colorization
- Dependency Parsing
- Parsing comments.
- Find and replace.
- Script validation.
Future Additions
- More statement parsers built on top of tokenizer.
Building From Source
If you're looking to fork the project or build from source, the dependencies below are required for backwards compatibility support.
.Net Framework 4.5.2
- Download and install the .Net Framework 4.5.2 Targeting Pack.
Sandcastle Help File Builder
- Follow instructions for installing the latest SFHB release.
- Update the target .Net Framework on SandcastleDocs project if prompted.
Explore related projects
Loading…