SQL Prompt

Welcome to the SQL Prompt feature suggestion list. Find out more information about SQL Prompt at http://www.red-gate.com/products/sql-development/sql-prompt/.

If you have any questions, need help or have found a bug in SQL Prompt, please visit the forums at https://forum.red-gate.com/categories/sql-prompt

How can we improve SQL Prompt?

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Change Connection for all tabs

    I would love to see a feature that allows you to change the connection of all currently open tabs to a different connection.

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  User interface  ·  Flag idea as inappropriate…  ·  Admin →
    • Select Statements - WHERE clause value suggestion

      I would like to get suggestions for the WHERE query value. For example, when querying a dimension table, I would like to receive a selection box with the possible values to enter.

      empid firstname lastname
      ------ ---------- --------
      1 Test User
      2 Dummy User

      Select * from Table
      Where firstname= [Suggestion Box displays the values "Test" and "Dummy" to pick]

      3 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  Intellisense  ·  Flag idea as inappropriate…  ·  Admin →
      • Encapsulate As New stored procedure window re-sizable

        Make Encapsulate As New stored procedure window modeless, re-sizable, and zoom-able

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  Encapsulate as new stored procedure  ·  Flag idea as inappropriate…  ·  Admin →
        • Suggestion for "inserted JOIN deleted ON .."

          When suggesting conditions for a join between the inserted and deleted tables (in a trigger), SQL Prompt should suggest (as the first option) a join condition on the columns included in the primary key.

          For example, in a trigger on the Production.ProductCostHistory table in the AdventureWorks2014 database, if I'm typing "inserted i INNER JOIN deleted d ON" then SQL Prompt should suggest "i.ProductID = d.ProductID AND i.StartDate = d.StartDate".

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Intellisense  ·  Flag idea as inappropriate…  ·  Admin →
          • Tab History -- Close window without adding to history

            I open allot of windows that I don't want to search thru when I am looking for a previous window I closed(select top 1000, ..........)
            It would be really nice if you could hold down the shift key when closing a window and it does not add it to history.

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Tab history  ·  Flag idea as inappropriate…  ·  Admin →
            • SQL Query Result Change Status

              SQL Query Result Change Status

              Whenever the results of the query change user should get notified only for that query/script/snippet etc.

              Sometimes I do not want to keep running the same query after every few seconds to check if the results have been changed.

              thanks

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  Code Analysis  ·  Flag idea as inappropriate…  ·  Admin →
              • Missing withespace after AS in CAST and TRY_CAST function with more complex inner function

                I have experienced that CAST and TRY_CAST do not create the space before the AS with a more complex internal function.

                For example

                TRY_CAST(RIGHT(F22, LEN(F22) - CHARINDEX(':', F22) - 1) AS VARCHAR) is formatted as TRY_CAST(RIGHT(F22, LEN(F22) - CHARINDEX(':', F22) - 1)AS VARCHAR). The same applies to CAST

                TRY_CAST(LEN(F22) AS VARCHAR) works smoothly.

                I made these observations in the online version and of course I don't know if this also applies to the local version.

                Translated with www.DeepL.com/Translator

                2 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  Format SQL  ·  Flag idea as inappropriate…  ·  Admin →
                • Lists: In the new Style editor the Variable Declaration, and SELECT Column lists are treated the same. That has killed us.

                  Lists: Separate the Variable Declaration from SELECT Columns so they do not have to be treated the same. We need variable declaration to be on separate lines, but SELECT Column list to NOT be on separate lines. Version 7.5 is the last version we can use because of this change that was made on styles.

                  1 vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Format SQL  ·  Flag idea as inappropriate…  ·  Admin →
                  • Create an alternative to the SQL Server Management Studio Query Designer in SQL Prompt

                    We've migrated to azure and the query designer stopped working. It would be great if you could create an alternative to the SQL Server Management Studio Query Designer in SQL Prompt

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • Issue a warning when columnname = null

                      Every once in a while I do something dumb in my where clause. Something like where customername = null

                      Of course, the correct thing to do is customerName is null because customerName = null will never be true. Still I make this mistake on occasion and it takes me a few minutes to realize and correct it to Is null.

                      Anyway, I think if you add this to sql prompt that would be helpful.
                      Thanks,
                      Ben

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Code Analysis  ·  Flag idea as inappropriate…  ·  Admin →
                      • Set indent size

                        We frequently need to move large blocks of code to the left or to the right a specific number of spaces. It would be nice to be able to see on the toolbar the current indent size and have the ability to change this indent size on the toolbar.

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  User interface  ·  Flag idea as inappropriate…  ·  Admin →
                        • Copy as JSON

                          In the result grid you already have "Copy as IN", "Script as INSERT", and "Open in Excel". Quite often I am missing a similar "Copy as JSON" function where the selected cells are copied and rows are formatted as JSON objects with column headers as names

                          2 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • remove semicolons

                            The SQL Prompt menu has an item/hotkey for Insert Semicolons, but no matching item/hotkey to remove them. Suggest these be added

                            3 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Format SQL  ·  Flag idea as inappropriate…  ·  Admin →
                            • style editor semicolon

                              The style editor has no "End statements with semicolon" checkbox. It's conceivable that one team may want ANSI-looking SQL and another one not.

                              2 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Format SQL  ·  Flag idea as inappropriate…  ·  Admin →
                              • Query Execution History: Search by Date

                                Please allow users to search Query Execution History by Date, or better yet, Date Range. Since the the execution history is already stored in a db file, I am hoping this is an easy add.

                                2 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  User interface  ·  Flag idea as inappropriate…  ·  Admin →
                                • Include all SQL Code Guard features

                                  I'd like all SQL Code Guard features to be added to SQL Prompt.

                                  2 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                  • EXEC sp without return (EXEC @Results = sp)

                                    EXEC sp_who2 without return (EXEC @Results = sp_who2)
                                    Give a warning when tsql or stored procedure has execute a stored procedure without a variable for an error to bubble up to.

                                    This is the proper way because ieven in a try catch the Exec sp_who2 won't give and error to stop the tsql from going on

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  Code Analysis  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Format SQL : Add blank line at end of script

                                      Can you add an option to add a blank line at the end of a script, when formatting? This would help when concatenating scripts together.

                                      2 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Format SQL  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Convert selected SQL to EXEC statement

                                        This is to convert existing SQL staement(s) to an EXEC statement, including applying quote escaping as required.
                                        A smart version would use EXEX sp_executesql if the selected SQL statements contained variable refreneces, allowing this to work for both trivial case, and the not-so-trivial case.

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Find Invali

                                          Be able to search for invalid objects inside jobs

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            0 comments  ·  Find invalid objects  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 41 42
                                          • Don't see your idea?

                                          Feedback and Knowledge Base