ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

TSQLEasy

by tosher WinLinux ST2/ST3

TSQL Easy is a plugin for Sublime Text editor (ver. 2/3) that adds possibility to read/write/execute sql requests to Microsoft SQL Server through the use of pyodbc library.

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 72
  • Linux 164
Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 0 2 7 6 1 4 3 7 2 3 5 1 1 6 4 2 1 5 0 2 3 7 3 9 5 0 0 4 5 5 9 8 2 2 10 12 5 7 1 0 0 2 4 8 5 4
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 2 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 2 1 1 0 0 1 0 1 0 1

Readme

Source
raw.​githubusercontent.​com

Sublime Text plugin: TSQL Easy

TSQL Easy is a plugin for Sublime Text editor (ver. 2/3) that adds possibility to read/write/execute sql requests to Microsoft SQL Server and some IDE-like functionality. Server connections based on pyODBC library.

Main features

  • Manage connections to SQL Servers.
  • Execute sql requests on SQL Server.
  • Completions of table names from server.
  • Completions of table columns from server.
  • Possibility to receive code of procedure, functions by text under cursor.
  • Possibility to open local files with the same name as stored procedure (function, etc.): ProcedureName -> ProcedureName.sql.
  • Improved syntax highlighting for TSQL.
  • Reports: Activity monitor, Long running queries

Warning! Server connection required for full functionality or use fake server with empty driver value for work offline without completions, etc.

PyODBC

Now, package includes pyODBC (3.0.7) binaries:

  • Windows: ST2/3 x32/x64
  • Linux: ST2/3 x64
  • Pull requests are welcome! :)

Commands

  • Open console - open new console for sql requests
  • Server select - change predefined sql server connection
  • Execute - execute the request (F5)
  • Open server object - open procedure or function under cursor from server
  • Open local object - open procedure or function under cursor from local path
  • Activity monitor (+refresh, +show query)
  • Long running queries (+refresh, +show query)

Install

Package Control

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
  • Bring up the Command Palette (Command+Shift+p on OS X, Ctrl+Shift+p on Linux/Windows).
  • Select “Package Control: Install Package” (it'll take a few seconds)
  • Select TSQL Easy when the list appears.

Package Control will automatically keep TSQL Easy up to date with the latest version.