Skip to content

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 or our support portal.

SQL Prompt

Categories

JUMP TO ANOTHER FORUM

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

640 results found

  1. Add a feature that when provided an SP will enumerate every SP called with that SP and down the chain until the last SP has been listed.

    NOTE: It would need to take into account circular references in which case once an SP has been enumerated if it's found again it's listed but nothing else after since that will have already been done once.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. When making a CREATE TABLE statement, I would like to have the comma at the beginning of the line.
    I've set the lists.placeCommasBeforeItems property to true, but it's not working for the DDL statement.

    So either fix the comma placement option for DDL statements or add an option for it.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Would it be possible to include the attached menu options in the Style format configuration? It would be very helpful to have it when Formatting SQL instaead of executing it after the Format.
    At least, "Apply Casing Options", "Qualify Object Names" and "Remove Square Brackets".

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. We have some comments placed in the code preceeded by one or more TABs. When formatting SQL all these TABs are replaced by one WHITESPACE.
    Is it possible to maiantain these TABs?

    See attached examples.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. We would like an option to get rid of the semicolons. You can only configure the whitespace. When we apply "Format SQL" many semicolons are inserted in our code and we don't wnat them.
    Is it possible to add an option when formatting Style for eliminating semicolons?

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. I've noticed that when I Expand * on a pivoted table, then the order of the columns gets reversed
    e.g.
    If I have something with a pivot
    Sum(Amount) for month_no in ([1],[2],[3]....)
    When the pivot result is expanded, it becomes [12],[11],[10]....
    Would be nice if the expansion would match the order that the columns was entered in.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Expand wildcards  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. On our team we are very particular about the order of our joins as they are written in the query. I would like to request an option to format joins so the table you are joining on is the first item in the join. In the example below you join to tableb so the first ON clause is tableb, subsequently on the tablec join the first join is on objects from tablec.

    SELECT (columns)
    FROM tablea a
    INNER JOIN tableb b ON
    a.id = b.id
    INNER JOIN tablec c ON
    b.id2 = c.id

    To:
    SELECT (columns)
    FROM tablea a
    INNER…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. The Database drop down needs to be dynamic in width or allow us to pull it wider. It is extremely difficult trying to find the database I'm working on when I have multiple installed in a LocalDB environment.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. SQL Prompt should properly suggest table names or constraint names for DBCC CHECKCONSTRAINTS.

    The correct syntax would be:
    DBCC CHECKCONSTRAINTS('SchemaName.TableOrConstraintName')

    Currently, it suggests this way:
    DBCC CHECKCONSTRAINTS(TableName)
    which only works if TableName is in the dbo schema.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Intellisense  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. As I click open on a query in SQL History it gets displayed in a new tab. However this tab has no active connection. To be able to run the query I have to connect the tab manually to the database.
    For me it would be much easier if opening the query from History would also open a connection to the database the query ran the last time.

    If there are specific reasons why this was not implemented it would still be nice, if there were an option available to automatically connect to the server.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    started  ·  1 comment  ·  Tab history  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. It should be possible to rename queries that are found by the search. Especially this concerns "starred queries". Unfortunately, the list of found queries lacks the small 3-dot menu that is available in the unfiltered list. And there you can rename a query if it is not currently open.

    That had worked in the old tab history. And it was a very important tool for me to save my queries under meaningful names.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Tab history  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Can we add option to have "WITH (NOLOCK)" in the Aliases tab in the Options

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. When making a CREATE TABLE statement, there should be a formatting option to align the data-type behind the field names.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. A previous request titled "Formatting SQL Transaction" was flagged as Completed in 2018; however, no option to adjust the formatting for BEGIN TRAN / COMMIT TRAN blocks exists in the latest release of SQL Prompt version 10.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Format SQL  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Add a Refactor/Reformat option to REMOVE NOLOCK HINTS - with the NOLOCK hint deprecated and the hint being ignored in SQL Server 2022 and beyond, it would be great if refactor option in SQL Prompt to quickly remove WITH (NOLOCK) or (NOLOCK) hints from the selected SQL. It will be useable for years when addressing older SQL that utilized that hint. It would be helpful for the next decade at least to have a quick way to clean up the old SQL statements. If you can imagine how many times NOLOCK hints have been used in SQL Server over the…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. When opening a "New Query" window in Sql Server Management Studio (SSMS), SQL promt automatically load suggestions every time.
    If the connection with the server is strong, this tipically takes about 1-2 seconds.
    I am using a VPN that has a low bandwith and i have to wait 30-40 seconds every time i open such a window.
    Since i have the possibility to load the suggestions manually using CTRL + SHIFT + D,
    it would be great to have a setting that will prevent loading suggestion in every situation as described above.
    Just store the suggestions in the cache first…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. There is no Smart Rename option for User Defined Table Types. This should be implemented.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. using LocalDB, the database path names can be rather long, and in the Sql Prompt Invalid objects UI, there isn't a way to expand the database name, no pull handles or widening of the screen doesn't change the comboboxs dimensions which makes it hard to find the one I need without clicking through each one.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Recent queries section has date sections wrong. It is showing queries from last night as today. Maybe a time zone thing? It should use the machine's time zone.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Please add support for Synapse Serverless Databases for Intellisense!

    15 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?