Coder Social home page Coder Social logo

rich-ott / ssms-query-history Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 163 KB

SSMS Query History is an AddIn for Microsoft SQL Server Management Studio that logs executed queries for further review.

License: BSD 2-Clause "Simplified" License

C# 85.44% Smalltalk 14.56%

ssms-query-history's People

Contributors

rich-ott avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

getsqldata pengge

ssms-query-history's Issues

Create an external UI

An external UI for searching the query history should be created to allow for looking up items without first opening SSMS.

Add connection color to the query windows

Add a color bar to the query windows to quickly identify the connection that is in use. There are several requirements for this:

  • This needs to be more reliable than the SSMS built-in connection coloring
  • The color needs to change whenever the connection changes
  • Needs to be configurable per server (preferably using regex to avoid duplicated entries)
  • (optional) The tab should reflect the color as well

Create context menu

Create a context menu to the results view. It should include at the very least Select All and Copy options. Ideally it should include options to Copy query to current window and Copy query to new window.

Create database storage option

An option to store query history in a database table should be created to provide more efficiency in storage and searching.

performance issues after logging several large queries.

After running several large queries, particularly on a slow disk, SSMS will start to delay while the query is persisted. Presumably this is because of the time to open/update/save the file with the new query information.

Maybe a background thread to save the query text?

Ctrl+C displays an error about unsaved

Trying to copy a query with Ctrl+C displays the below error if the active query window is currently unsaved. This is an issue with SSMS (both 2012 and 2014). A current workaround is to select the query text and right-click and Copy. Or just close all open query windows/create a new query window just for the results.

ssms ctrl c

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.