SqlScriptDOM
SqlScriptDOM copied to clipboard
ScriptDOM/SqlDOM is a .NET library for parsing T-SQL statements and interacting with its abstract syntax tree
- SqlPackage or DacFx Version: 161.6367.0-preview - .NET Framework (Windows-only) or .NET Core: .Net 6.0 - Environment (local platform and source/target platforms): N/A **Steps to Reproduce:** 1. Create a new...
**Is your feature request related to a problem? Please describe.** Some use cases for the Sql*ScriptGenerator classes are actually for code "pretty printing" / formatting. However, using Sql150ScriptGenerator to re-generate...
**Is your feature request related to a problem? Please describe.** Consider the following code to inherit `SqlScriptGenerator` ```c# internal class CustomSqlScriptGenerator : SqlScriptGenerator { public CustomSqlScriptGenerator(SqlScriptGeneratorOptions options) : base(options) {...
We'd love to pass grammar updates back upstream to antlr v4 - https://github.com/antlr/grammars-v4/tree/master/sql/tsql
- SqlPackage or DacFx Version: - .NET Framework (Windows-only) or .NET Core: .NET Framework - Environment (local platform and source/target platforms): Parser for 2019, Windows **Steps to Reproduce:** 1. Powershell...
When I parse a query which has a UNION statement, I get a SelectStatement with a QueryExpression that is a BinaryQueryExpression. However, when I try to use the SqlScriptGenerator to...
**Is your feature request related to a problem? Please describe.** Sql150ScriptGenerator to re-generate the SQL text when provided with an input TSqlFragment, leads to putting all stored procedure parameters on...
I extensively use `Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragmentVisitor` to validate my queries against my DB schema, and in literally every of its method I need to execute some SQL queries (e.g. `CreateCommand` + `ExecuteReader`)...
There's a number of compiler warnings during build/test. It'd be good to get these fixed now so new warnings are easier to notice. - [ ] `UTA001: TestClass attribute defined...