SQL Prompt 9.1 release notes
Published 21 February 2018
220.127.116.1156 - June 13th 2018
- SP-6992 : Prevent occasional exception being thrown when resolving dependencies on startup.
18.104.22.16860 - June 6th 2018
- Added support for REMOTE_DATA_ARCHIVE.
- Added support for new querystoreoption WAIT_STATS_CAPTURE_MODE.
- Added support for automatic_tuning_option.
- Fixed AUTO_CREATE_STATISTICS syntax.
- Fixed snapshot_option syntax.
- SP-6946 : We notify about errors outside the selected text when inserting semicolons.
- SP-6962 : Formatting no longer applies an additional space after a TO token in a BACKUP statement with a single backup device.
- SP-7005 : Formatting an UPDATE STATISTICS statement will no longer process out of scope parentheses and cause a "Can't align to a future token 'Update'" crash.
- SP-7021 : Aliases in quotes no longer fail to format.
- SP-7028 : Fixed scenario that caused Prompt to crash SSMS/VS when gathering suggestions.
22.214.171.12413 - May 30th 2018
- Added support for new BULK INSERT options.
- SP-6939 : Code analysis no longer flags an EI003 if a non-scalar subquery is contained within a scalar function, such as ANY, ALL or SOME.
126.96.36.19930 - May 23rd 2018
- Added syntax colouring for sp_add_trusted_assembly, sp_drop_trusted_assembly and trusted_assemblies.
- SP-6937 : Parentheses style settings no longer apply to table hints, so they always remain on the same line as the preceding WITH.
- SP-6958 : Preserve whitespace between alias and table name in qualified joins.
- SP-6963 : No longer flags an ST007 issue if the reused cursor name has been previously deallocated.
188.8.131.5283 - May 16th 2018
- Added support for new SCOPED CONFIGURATION options.
- Added support for REORGANIZE_OPTION syntax of ALTER INDEX.
- SP-6939 : Code analysis no longer reports non-scalar false positives on subqueries surrounded by ANY, ALL and SOME logical operators (EI003).
- SP-6957 : SELECT NULL produces a scalar value, so it shouldn't be considered as a EI003 violation.
- SP-6960 : Fixed two out of memory crashes in code analysis processing of large scripts (20+Mb).
184.108.40.20638 - May 9th 2018
- SP-6096 : Rename of aliases considers only related scope.
- SP-6661, SP-6851 : Fix expanding wildcards when aliases have the same name in different scopes.
- Fixed edge case where code analysis settings could still fail on load.
220.127.116.1193 - May 2nd 2018
- SP-6862 : Allow code analysis settings to be loaded even if another process is accessing them.
- SP-6882 : Fix slow JOIN suggestions since 9.0.8.
- SP-6934 : Code analysis no longer reports the word 'fixed' as a TODO comment.
- SP-6935 : Fix inserting semicolons for CREATE VIEW .. WITH CHECK OPTION.
18.104.22.16825 - April 25th 2018
- SP-6876 : Prevents doubling columns when expanding wildcards from overclause.
SP-6923 : Preserves space before COLLATE inside CAST statement when using default style.
22.214.171.12471 - April 18th 2018
- Code analysis is now less likely to produce out of memory exceptions when loading many tabs at once.
- Removed formatting override "Place parenthesised FROM sources on new line".
SP-6667 : Parentheses settings aren't working right for OUTER APPLY.
SP-6807 : Maintains a space between close parentheses on RAISERROR and WITH clause.
SP-6836 : Parentheses are not consistent in nested queries.
SP-6854 : Extra lines no longer added between procedure call with text as parameter and a comment.
SP-6882 : Fix delays in core mechanism of Prompt.
SP-6883 : 'Open in Excel' grid result operation now works with multiple Excel instances.
126.96.36.19964 - April 11th 2018
- Improve Visual Studio startup performance by only loading Prompt when you first load a SQL file or SQL Server Object Explorer.
- SP-6623 : Extra lines no longer added after a semicolon following a comment.
- SP-6654 : Temporal tables are taken into consideration when executing current query.
- SP-6887 : Add space between function parentheses and NOT IN.
- SP-6903 : Rule MI006 no longer detects issue if the parameter is used in function calls.
188.8.131.5276 - April 4th 2018
- SP-6895 : Code analysis could trigger concurrent access exceptions in rare scenarios.
- Please note that this release no longer supports VS2013 or earlier versions.
184.108.40.20619 - March 28th 2018
- Formatting uses formatting style tab size instead of editor tab size in all circumstances.
- Fix jumping formatting preview when switching tab size.
- SP-6855 : Put square brackets around column alias with a space in the name.
- SP-6864 : 'Find invalid objects' now detects 'Column name or number of supplied values does not match table definition' errors.
- SP-6869 : Error laying out sql - Cannot align to future token CONSTRAINT.
- SP-6868 : Rule BP018 no longer shows issue on UPDATE/DELETE statements with nested INNER JOIN clause.
- SP-6881, SP-6764 : 'Align items across clauses' no longer adds extra space after table alias.
- SP-6886 : 'Right aligned to the statement' now works for INTO.
- SP-6888 : Prefix Unicode Literal errors when your query sets a variable to use “FOR JSON AUTO”.
- SP-6892 : Prefix Unicode Literal errors on sysname data type.
- SP-6893 : Prefix Unicode Literal errors with CTEs.
220.127.116.1132 - March 21st 2018
- Added refactoring option to prefix 'N' to literal strings when assigning to a unicode NCHAR/NVARCHAR variable.
- Found under Prompt -> Options -> Style.
- Added 6 new code analysis rules, bringing the total to 94:
- BP013, BP022, BP0023, BP024, DEP022, PE023.
- SP-6675, SP-6851 : Fixed out of memory exception that could trigger when processing table hints.
- SP-6707 : Rule ST002 no longer detects issue on column_alias=expression syntax.
- SP-6847 : Added support for WITHIN GROUP order clause on STRING_AGG function.
- SP-6853 : Fix CTE/Cursor formatting error when automatically insert semicolons option is on.
- SP-6865 : 'Align data types and constraints' schema (DDL) formatting option could cause an argument null exception.
18.104.22.16867 - March 14th 2018
- Added search box functionality to Snippet Manager (snippets list feature in Prompt options).
- Added code analysis support to variable cursors -- i.e. via SET @local_variable.
- Affected rules: BP015, EI010, EI011, EI012, EI013, EI014, EI015, EI021, EI022, EI023, PE015, PE016 and PE018.
- Enhancement : Show reasons why formatting failed in popup dialog.
- Enhancement : Code analysis settings page now displays description for selected rule.
- SP-6581 : Service broker CONVERSATION_HANDLE and CONVERSATION_GROUP_ID are recognized as reserved keywords.
- SP-6859 : Code analysis no longer causes an unhandled exception when scanning unparsed T-SQL.
- SP-6861 : Code analysis no longer causes an unhandled exception when dealing with variable cursors (see above).
22.214.171.12463 - March 07th 2018
- Enhancement : Add warnings to unsaved code analysis settings.
- SP-6837 : LOGINPROPERTY is recognized as reserved keyword.
- SP-6839 : EI003 no longer shows issue on EXISTS in conjunction with an EXCEPT query.
- SP-6640 : Support DEC abbreviation for DECIMAL.
- SP-6845 : Installer fix for VS.
126.96.36.19943 - February 28th 2018
- SP-6572 : Fix missing space before NOT after IF RIGHT(...).
- SP-6795 : Cannot insert semicolons for DBCC statements.
- SP-6827 : Fix exception when closing editor window after using snippets.
- Fix : STRING_AGG intellisense.
188.8.131.5238 - February 21st 2018
- Code analysis settings can now be saved to individual files (.casettings) and shared amongst your team.
- This is accessible via the Prompt menu :
SQL Prompt > Manage Code Analysis Rules....
- This is accessible via the Prompt menu :