“I have always been a huge fan of Redgate’s software, and I can confidently say that SQL Prompt is a masterpiece. It has super-enhanced my SQL scripting abilities and has cut my scripting time down to a quarter or less. The tool is very intuitive, and the comprehensive settings allow me to tailor it to my own coding style.”

Sean Van Der Walt, Data Analyst, Multichoice

“If you take SQL Prompt away from me, I'll have to quit!”

Jake Manske, T-SQL Software Developer

“The ability to have every DB developer’s code formatted the same way with the execution of a simple command is incredibly helpful to making code reviews more efficient, and to reducing long-term product maintenance costs.”

Tim Edlund, Founder and CEO, Softworks Group

“Working smarter is one of the reasons I'm such a fanboy of Redgate's products…One of my favorite tools is SQL Prompt, an SSMS plugin that adds "missing" functionality, or has similar features which work better. Either way, if you use SSMS, SQL Prompt will make your life better.”

“I love SQL Prompt. The speed and friendly, intuitive nature of the tool is excellent. The way it handles autocompletion for eg CTEs and combinations of APPLY and variables makes it a great tool for improving speed and quality for our development efforts. I've recommended it across the entire development team and it is loved by all.”

Erik Stark, Development Teamleader, Liseberg AB

“It saves huge amounts of time, boosts productivity, enforces common layout and coding standards, and means I can focus fully on the task in hand, while letting the syntax and code take care of themselves.”

Jerry Pett, Director, Burnt Orange Designs

“I use SQL Prompt whenever I write any SQL, simple or complex, because it's such a powerful programming aid. I no longer have to constantly look up or memorize obscure object names and SQL commands – instead, I can just browse for them.”

Brian Finkel, Advanced Solutions Group

“I am a consultant who specializes in backend systems. I normally spend about 50% of my day in SQL Server Management Studio. Since I started using SQL Prompt, I am at least 30% more productive. Even my clients are starting to notice. I honestly cannot comprehend how I managed to write Transact-SQL prior to this tool.”

John Ek, ekDEVELOPMENT

Key features for both SSMS and Visual Studio

Formatting your code

Try formatting your own SQL code below with a few predefined styles, or create and share your own styles with the full formatting options in SQL Prompt Pro. Download a 28-day free trial.

Easily switch between styles in one click

Work in your own preferred style, then switch to your shared team style for co-working, and on to your company-wide style when you are ready to ship.

Fine-tune your formatting

Our 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 friends and colleagues.

Format only what you need

Select a fragment of SQL script you want formatting simply by selecting it, or disable formatting for certain blocks by using our handy actions shortcut.

Navigating your code

Code completion with statement expansion

Our smart code completion works as you type, providing suggestions to help make your coding fast and accurate.

Scripting an object as ALTER

Use SQL Prompt to script out an object in a query simply by right clicking and choosing Script Object as ALTER from the menu.

Select an object in the Object Explorer

With SQL Prompt you can select an object or synonym from Object Explorer directly from the query window.

Find invalid SQL Server objects

Use SQL Prompt to find invalid objects in your database, such as if you want to know if any objects are referencing other objects that have been dropped.

Find unused variables and parameters

SQL Prompt can find and highlight any parameters or variables that are unused in a script.

Instant access to schema information and summarize scripts

Access your schema information and view a summary of the actions that a SQL script performs, in the order in which they occur.

Refactoring your code

Safely rename objects in your script

You can use SQL Prompt to rename all occurrences of a variable or alias in a query.

Encapsulate SQL as a new stored procedure

With SQL Prompt, you can create a new stored procedure from any block of valid SQL.

Split a table in your database

SQL Prompt can split a table in your database into two tables. This is useful if you want to normalize a database, improve database performance or change the database design.

Analyzing your code

Discover code issues and hidden pitfalls as you type

Over 90 rules are available out-of-the-box, all manageable from the Options menu. Code issues are underlined with quick tips on hover, and further details when you click on the lightbulb icon.

Bring code up to standard with auto-fixes

Once SQL Prompt’s code analysis has highlighted problematic code, you can select the orange lightbulb icon and apply an auto-fix to bring your code up to standard.

Get clear explanations and suggestions to improve your code

The side panel gives you more information about the issue and how you can fix it, plus get links to further reading online.

Perform code reviews or analyse a legacy code base

View a whole list of code issues detected in a SQL script, group them by type, and export them. This makes it much easier for a team to perform code reviews, or analyse a legacy code base for possible refactoring improvements.

Encourage coding standards with code analysis shared settings

You can choose which suggestions you see, save them in a shared drive or a source control folder, and share with your team.

Features only in SSMS

Save and recover lost tabs

With tab history, you can save, preview, and rename tabs – and restore tabs previously opened in SSMS. You can pick up work where you left off and start coding again in seconds.

Tab coloring

Set different colors for different groups, servers and databases, so you can quickly and easily identify which environment you’re working in within SSMS.

Smart rename refactoring

Create a script that allows you to rename objects in your database without breaking dependencies.

SQL Prompt Pro in action

See how quick and easy code completion, formatting, and refactoring can be with SQL Prompt Pro

SQL Prompt Pro is part of the SQL Toolbelt

Compliant Database DevOps

Redgate’s Database DevOps solution lets you extend your DevOps practices to SQL Server databases so that you can optimize productivity, agility and performance across the full database lifecycle and become a truly high performing IT organization.