microsoft / SqlScriptDOM

ScriptDOM/SqlDOM is a .NET library for parsing T-SQL statements and interacting with its abstract syntax tree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add options to generator to move stored proc params to separate lines

dmaloo opened this issue · comments

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 same line.

Describe the solution you'd like
This looks poor, ideally should leave all parameters on separate lines or give user an option to pick what they want here.

Describe alternatives you've considered
Other than using tokens to rewrite the script (in which case generator is not necessary and we lose the gains we get using it as well) there are no other known alternatives.

Additional context
Add any other context or screenshots about the feature request here.