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

TSQLEasy

by tosher ST3

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

Details

Installs

  • Total 5K
  • Win 4K
  • Mac 298
  • Linux 296
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 1 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 2 0 0
Mac 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text plugin: TSQL Easy

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

NOTE: Sublime text 2 is not supported anymore. Please use Sublime text 3.

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 (4.0.22) binaries:

  • Windows: ST3 x64 (x32 with old pyodbc 3.0.7)
  • Linux: ST3 x64
  • OSX: ST3 x64

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)

Installation

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.

Screenshots

SQL Request

SQL request

Activity monitor

SQL request

Long running queries

SQL request

External dependencies