SQLsense is an advanced intelligent query assistant engineered specifically for SQL Server Management Studio (SSMS) 22. Designed to boost developer productivity, it brings a modern, highly responsive, "SQL Prompt-style" experience natively into SSMS, accelerating your coding workflow while strictly enforcing team structural standards.
- Context-Aware Suggestions: Prioritizes Tables and Views when typing
FROMorJOIN. Heavily prioritizes Columns automatically when typing afterSELECT,WHERE,ON, andSET. - Intelligent Alias Mapping: When you declare table aliases (e.g.
FROM Orders O), SQLsense remembers them. TypingO.or picking a column belonging toOrdersautomatically prepends your exact alias case seamlessly (O.OrderId). - Mid-String & CamelCase Matching: Type
ordidto instantly matchOrderId, or type anywhere in the middle of a string to easily find columns within chaotic schemas. - Auto-Join Generation: Typing
ONafter aJOINautomatically builds out the relationship bridging based on foreign key heuristics (e.g.ON O.CustomerId = C.Id). - Wildcard Expansion: Type
SELECT *and select the*from the IntelliSense popup to instantly expand the wildcard into a comma-separated list of all relevant columns.
- Instant Transformation: As you type, over 180+ T-SQL keywords (like
select,from,where) are instantly transformed to your preferred casing (Upper, Lower, Pascal, or LeaveAsIs) the moment you hit Space, Tab, or Enter.
- ScriptDom Integration: Leverages Microsoft's official SQL Server 2022 (v160) parser engine (
Microsoft.SqlServer.TransactSql.ScriptDom) for flawless, professional-grade code alignment. - On-Demand: Format any active document instantly via
Tools -> SQLsense -> Format SQL.
- Shortcode Expansion: Boost your speed with customizable shortcuts. Type
ssfand press Space/Tab to instantly expand it toSELECT * FROM.
- Real-Time Analysis: An intelligent background worker continuously parses your T-SQL. Highlights anti-patterns and code smells (e.g., “SELECT * usage detected”, “UPDATE missing WHERE clause”) directly inside the SSMS Error List window.
- Never Lose Work: A highly robust SQLite-backed session manager that tracks your active tabs and restores them precisely after an SSMS crash or restart. Ghost-session proof.
SQLsense requires Visual Studio 2022 (MSBuild 17.0+) and .NET Framework 4.8.
The extension is now bundled and deployed via standard VSIX for modern SSMS 21/22 integration.
- Download the latest
SQLsense.vsixor build theSQLsense.csprojproject yourself. - Double-click the
.vsixfile to launch the VSIX Installer and follow the prompts to install it into SSMS 22. - Rapid deployment to your local SSMS 22 environment during development is fully automated via the included
Deploy-To-SSMS.ps1PowerShell script.
- Close SSMS completely
- Open the Visual Studio Installer (Windows Search → "Visual Studio Installer")
- Find SQL Server Management Studio 21 or SQL Server Management Studio 22 and click Modify
- Go to the Individual Components tab
- Search for "SQLsense" and uncheck it
- Click Modify and wait for the process to complete
- Start SSMS
Sometimes it is necessary to manually delete leftover extension files and clear the cache if the standard unpacker fails.
- Close SSMS completely
- Open Windows Explorer and navigate to one of these locations:
- SSMS 21:
C:\Program Files\Microsoft SQL Server Management Studio 21\Release\Common7\IDE\Extensions\ - SSMS 22:
C:\Program Files\Microsoft SQL Server Management Studio 22\Release\Common7\IDE\Extensions\
- SSMS 21:
- Look for a folder containing
SQLsense*files and delete it (Note: The inner folder name might be a random string likeul4254xk.zre) - Please check also these AppData folders and delete any
SQLsensefolders:- SSMS 21:
%LocalAppData%\Microsoft\SSMS\21.0_*\Extensions\ - SSMS 22:
%LocalAppData%\Microsoft\SSMS\22.0_*\Extensions\
- SSMS 21:
If you performed a manual deletion, you must rebuild the SSMS metadata cache:
- Open a Command Prompt as Administrator.
- Run the following command corresponding to your version:
- SSMS 21:
"C:\Program Files\Microsoft SQL Server Management Studio 21\Release\Common7\IDE\ssms.exe" /setup - SSMS 22:
"C:\Program Files\Microsoft SQL Server Management Studio 22\Release\Common7\IDE\ssms.exe" /setup
- SSMS 21:
- Wait for the command to complete (no window will open, it usually takes ~1 second).
- Start SSMS normally.
SQLsense Team - Writing SQL is finally enjoyable again.