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

Run sql batch script #12

Closed
reinaldorauch opened this issue Aug 24, 2016 · 3 comments
Closed

Run sql batch script #12

reinaldorauch opened this issue Aug 24, 2016 · 3 comments
Labels

Comments

@reinaldorauch
Copy link

Hi,

How do I run a sql script in batch manner as I would do in SQL Server Management Studio?

Thanks.

@tosher
Copy link
Owner

tosher commented Aug 24, 2016

If you mean running several statements:

statement #1
--go
statement #2

@reinaldorauch
Copy link
Author

I mean like this:
GO (Transact-SQL)
But I was digging on it and it may be something specific to microsoft tools. It would be great if I could run code in the same way that in ssms. I will submit a PR if I can

@tosher
Copy link
Owner

tosher commented Aug 24, 2016

In current version we can to run multi-statement blocks with --go as a splitter.

.. and PRs are welcome! :)

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

No branches or pull requests

2 participants