Redgate logo for print use

SQL Prompt

Add-in for SQL Server Management Studio & Visual Studio

The fast and easy way to write, format and debug SQL

Save time and effort from day one with the original SQL code completion tool, loved by the SQL Server community for nearly 20 years.

Writing SQL can be time-consuming, repetitive and frankly dull. SQL Prompt changes that. It works alongside you to make your SQL coding fast, accurate and effortless, whether your SQL Server databases are on-premises, in the cloud, or both.

SQL Prompt enhances SSMS and Visual Studio by automatically completing, analyzing and fixing your code, as well as taking care of formatting, refactoring, and query history. Best of all, it’s ingeniously simple to use, so you can get started in minutes.

Download free trial
Costco, Microsoft, Shell, DHL logos

Hundreds of leading companies have invested in SQL Prompt

Learn how customers are supercharging their productivity

Amazon, Bank of America, and more logos

Save time and effort writing SQL

Write SQL up to 50% faster and win time back in your day. SQL Prompt speeds up coding by auto-completing your code with valid, context-aware suggestions. Say goodbye to repetitive typing with customizable code snippets and comprehensive query history.

Screenshot showing SQL Prompt's code suggestion in SQL Server Management Studio

Improve code quality as-you-type

Avoid last-minute rework by writing error-free code by default. Smart code completion reduces syntax errors, while real-time code analysis and auto-fixes debugs code. Tab coloring helps keep your changes in the right environment, and refactoring helps you to confidently optimize your queries, code objects and databases.

Screenshot showing SQL Prompt's code analysis in SQL Server Management Studio

Keep code consistent without breaking a sweat

With SQL Prompt, you don’t have to worry about structuring your code as you write it. Simply write SQL your own way and use a shortcut to format your code into a team standard instantly. Same applies for reformatting legacy code, just press CTRL+K+Y to improve readability.

Screenshot showing SQL Prompt's code formatting in SQL Server Management Studio

AI-enhanced coding, on your terms

SQL Prompt includes optional AI-powered features designed to support your workflow. Write or modify queries using natural language, get clear explanations for unfamiliar code, and fix and optimize SQL with ease—all without leaving SSMS.

Screenshot showing SQL Prompt's AI-powered Text-to-SQL feature in SQL Server Management Studio

Key features for SSMS and Visual Studio

Try formatting your own SQL code below

Use predefined styles, or create and share your own with the full formatting options in SQL Prompt.

Styles

    or press Ctrl+Enter

    Format SQL in seconds

    Effortlessly format your code to match your team's style, or update legacy code for better readability, with just one click or a simple keyboard shortcut (CTRL+K+Y).

    Customize your formatting

    Advanced options allow you to fine-tune your formatting styles to get them exactly how you like them, and you can even share them with your team to keep code consistent.

    SQL Prompt users say

    Over 200,000 people rely on Redgate to deliver ingeniously simple software.

    SQL Prompt is part of SQL Toolbelt Essentials

    Any questions?

    sales@red-gate.com

    SQL Prompt

    Double coding speed and improve the accuracy of your SQL code.

    Includes:

    • IntelliSense-style SQL code completion
    • One-click, customizable SQL formatting
    • SQL refactoring
    • Customizable SQL snippets
    • SQL code analysis and auto-fixes
    • SSMS SQL history and tab colouring
    • AI powered features: Text-to-SQL, Explain SQL, Intelligent Suggestions and Query Index Analysis

    SQL Toolbelt Essentials

    Increase efficiency and code quality throughout your entire SQL Server database development cycle with 10 essential tools.

    Includes SQL Prompt plus:

    • Bulk formatting, code analysis and auto-fixes
    • Team sharing of formatting styles and code snippets in SSMS via the Redgate Platform

    Additional products

    • SQL Source Control
    • SQL Compare
    • SQL Data Compare
    • SQL Test
    • SQL Data Generator
    • SQL Doc
    • SQL Dependency Tracker
    • SQL Multi Script
    • SQL Search

    Supported SQL Server

    SQL Server databases

    • SQL Server 2022, 2019, 2017, 2016, 2014
    • Azure SQL Database
    • Azure Synapse Dedicated and Serverless SQL Pools
    • SQL Server on Azure VM
    • Google Cloud SQL for SQL Server & Virtual Machines
    • Amazon SQL Server RDS & Virtual Machines

    Development environments

    • SQL Server Management Studio 21, 20, 19, 18, 2017
    • Visual Studio 2022, 2019

    See the value SQL Prompt brings

    Write, format and debug SQL effortlessly in SSMS and Visual Studio - Redgate Software