Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't split scripts on GO statements: #1

Open
ststeiger opened this issue Feb 6, 2019 · 0 comments
Open

It doesn't split scripts on GO statements: #1

ststeiger opened this issue Feb 6, 2019 · 0 comments

Comments

@ststeiger
Copy link

ststeiger commented Feb 6, 2019

It doesn't split scripts on GO statements.
It has problems when I copy the statement over from the profiler.
This is because it's terminated with a go statement.
(GO is a management-studio extension, not a valid SQL statement)

Here a script-splitter implemented in C#, for reference:
https://github.com/ststeiger/ScriptSplitter/blob/master/csScriptSplitter/ScriSpli.cs

script 1
GO
script2
GO
script 3
GO
==>
[script 1, script 2, script 3]

While I am at writing suggestions, could the result on https://execsqlformat.herokuapp.com/ be put into a textarea ?
Because then I could just CTRL+A, CTRL + C instead of having to mark everything with the mouse.

Very nice tool by the way ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant