mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Feature: Run file as script. #114

Closed michaelwiller closed 7 years ago

michaelwiller commented 7 years ago

This is a guideline to help us to understand SQLTools Issues.

You don't need to stick to this, but please try to guide us to reproduce the errors or understand your feature requests.

Issue Type

Prerequisites (For bugfixes)

Description

I got SQLTools setup yesterday for Oracle. One thing that I do all the time is run a entire sql-file as a script. I use this for creating stored objects and some times for quick reports.

Is there a way to do this with SQLTools. If not, can you create one, please?

Versions

tkopets commented 7 years ago

I think this would be a great addition to have a separate command to run the whole file. I will implement this one when I have a bit more time.

michaelwiller commented 7 years ago

Great. Looking forward to it. Thanks.

tkopets commented 7 years ago

@michaelwiller This feature will be available in next release in a few days.

tkopets commented 7 years ago

New version released. Try command ST: Execute All File or use default key-combination ctrl+e ctrl+a.

michaelwiller commented 7 years ago

@tkopets Checked. Working perfectly. Many, many thanks.

tkopets commented 7 years ago

Nice to hear that! I will make a good use of this feature myself )

michaelwiller commented 7 years ago

I've begun setting up my utilities as well: https://github.com/michaelwiller/dev-command-utils/blob/master/sql-tools/README.md

Nothing much there, yet. But hey, I'm still on vacation :)

tkopets commented 7 years ago

Have a good rest! Thanks for mentioning and promoting SQLTools!