689 results found
- 
Support for windows certificate storeCurrently, SQL prompt doesn't support the windows certificate store like most applications do. The only way to work around that currently is to simply trust all certificates which is inconvenient (having to set this across potentially hundreds of server connections) and a security gap. SQL prompt should either provide an option to leverage the certificates. Currently, if a blanket trust is not provided, SSMS and SQL in general will work fine, but SQL prompt will cease to function, since the application (visual studio, SSMS) will connect correctly, but SQL prompt will not. 1 vote
- 
Update formatting rules to handle ORDER BY inside an OVER expressionI had a query which was using ROW_NUMBER() OVER (PARTITION BY ColumnA ORDER BY ColumnB, ColumnC) and FORMAT SQL command put the ORDER BY clause as the first thing on the line (no indentation). It would be better if, when it needs to be wrapped, the ORDER BY inside an OVER was indented to line up with PARTITION BY). 1 vote
- 
Snippet manager improvementsLove the snippets functionality, but four improvements would be nice: 
 1) Fix bug that if you click off a snippet to other windows before finishing it that it will lose everything you've entered and switch back to default values for everything.
 2) Add an option to finish a snippet when you tab past the final value instead of cycling back to the first snippet.
 3) When you hit ESC to exit a snippet, leave the cursor where it is instead of jumping to the end of the snippet.
 4) Allow user to define where the cursor should go when exiting…1 vote
- 
Column Order when expanding pivot is reversedI'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
- 
Database-specific snippetsDatabase-specific snippets. We have 80 or so databases scattered across 200+ instances and many tables have similar names or identical names with differing schemas: compare person.personpe, dbo.person & finance.personpe. This particular is extreme and there are more examples but the principle applies. I would love to be able to define pe as a snippet at a database level so that I can keep my snippet names short and so that I don't have to rename them manually when I am in SSMS with a lesser used database. 1 vote
- 
Find Invalid Objects - Database Drop Down list not wide enoughThe 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
- 
Suggest table names or contsraint names for DBCC CHECKCONSTRAINTSSQL 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
- 
coalesceI often need to wrap a column in a coalesce with 0. 
 It would be swell if there was a feature where I could select a column, then either right click or Keyboard shortcut to have it wrapped in coalesce.
 E.g. select the word
 personCount
 and have it be replaced with
 coalesce(personCount,0) as personCount1 vote
- 
Revisit "Formatting SQL Transaction"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
- 
history connectionAs 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
- 
ORDER BY 1 gives incorrect warningThe following gives the warning "ORDER BY clause with constants". In this statement, "1" is not a constant, but a reference to the 1st column. SELECT TOP (10) Field1, Field2 FROM MyTable ORDER BY 1 DESC 1 vote
- 
SQL Prompt doesn't restore connections after restart when using Azure Active Directory - Integrated authenticationThere is a bug in SQL Prompt . It doesn't restore connection after restart when using "Azure Active Directory - Integrated" authentication in SSMS 18+ or SSMS 19+. Tab is opened as disconnected. 1 vote
- 
When using the "Qualify Object Names" feature, show a drop-down when multiple possibilities existe.g. declare @1 table (a int, b int) 
 declare @2 table (a INT, b int)SELECT a, b FROM 
 @1 a
 CROSS JOIN @2 bHere there are 2 possibilities for columns a and b, however SQL prompt only suggests the second one. Both should be shown and the user given the chance to choose. SQL Prompt does not recognize the ambiguity nor alert the user to it (although Microsoft Intellisense does flag the ambiguity). This can result in the user selecting the wrong alias (since only one is presented, apparently the last one found) which can result in hard-to-debug… 1 vote
- 
Snippet placeholder for currently selected object in Object ExplorerLike the snippet placeholder $SERVER$ inserts the name of the connected SQL server and $DBNAME$ inserts the name of the connected database I would like a placeholder $OBJECTNAME$ that will insert the name of the object already selected in Object Explorer. 1 vote
- 
Add SQLPrompt feature into SQL MultiScriptAdd support for intellisense in SQL MultiScript using SQLPrompt 1 vote
- 
Tab History should include non-SQL filesSSMS homes files other than .SQL scripts. Sometimes an you closed an execution plan or a deadlock graph you wish you had saved. Tab history should cache non-SQL file types along with standard SQL scripts so you can get these back when you accidentally closed SSMS or after a crash. 1 vote
- 
Add "Clean install" option during installationAdd "Clean install" checkbox with appropriate warnings and option to back up styles and tab history where the user can specify and/or change the suggested backup location by default. Offer an easy option (inside menu?) to restore from the backup once installed. Take a look at Visual Studio editor options can be exported (backed up to a file) and subsequently restored later. Also, take a look at nVidia, AMD Radeon (formerly ATI) and perhaps Intel network card driver installers as an example for "clean install". 1 vote
- 
Correctly bracket Windows users/groups when using CTRL+B,CTRL+BWhen adding brackets via CTRL+B,CTRL+B, Windows-based principals (users, groups, etc.) are not correctly bracketed. The brackets are placed around the domain or computer name portion of the principal, instead of the combination of the domain/computer and user/group name. For example, if this statement is entered ALTER SERVER ROLE sysadmin ADD MEMBER MYDOMAIN\USER using CTRL+B,CTRL+B will yield this: ALTER SERVER ROLE [sysadmin] ADD MEMBER [MYDOMAIN]\USER instead of the correct syntax: ALTER SERVER ROLE [sysadmin] ADD MEMBER [MYDOMAIN\USER] Would also be helpful if principals from NT AUTHORITY and NT SERVICE could be correctly handled. 1 vote
- 
Object tooltipsInclude SQL statements to grant existing permissions with the object definition DDL statements. 
 i.e. GRANT SELECT ON dbo.table TO sql_user1 vote
- 
SQL Prompt Connection OptionsSQL Prompt doesn't allow to exclude servers, only way we can filter out server if we add each database under SQL prompt settings (Suggestions>Connections). We have busy production server and if we connect to production server, SQL prompt execute series of SQL queries against system database tables. Even though impact is minimal, It would be nice if there is a way filtering out servers rather than just the database objects. 1 vote
- Don't see your idea?
