September 15th, 2016
We are delighted to announce the new release candidate that is now available – SQL Enlight 188.8.131.529 RC1
- New Delimit and Undelimit identifiers refactoring commands added
- Enhancements of the Expand sp_executesql refactoring – now the command process not just a single script ,but a whole script
- Instant code analysis improvements – optimizations, new configuration setting controlling the delay before starting the background analysis and Visual Studio, and SSMS issues fixed
- Added a command for resetting the analysis template and rules to factory defaults
- Notifications for release of non release versions such as Beta and Release Candidate can now be configured
- Fixed installer issue preventing installation without explicit elevation of privileges
- Fixed issues in the SQL Enlight SDK
- Fixes of other issues found in the previous version
April 25th, 2016
We are happy to announce the new SQL Enlight version 184.108.40.2061, which is now available for beta testing.
The main target of the update is the added integration support for Visual Studio 2015 and SSMS 2016.
- Visual Studio 2015 integration
- SQL Server Management Studio 2016 integration
- Team Foundation Server 2015 Checkin policy
- Improvements in command line tool
- SSMS and Visual Studio integration improvements
- Fixes of issues found in previous release
April 10th, 2016
We are delighted to announce the release of the latest SQL Enlight update – version 220.127.116.111.
This is a release of some exciting user experience improvements on which we worked the past months.
Here is a summary of what’s new in version 18.104.22.1681:
Instant Code Analysis
This is probably the most exciting feature in the new release. It allows the analysis to run in the background and get analysis results while a SQL document is edited.
Non-blocking UI operations
The analysis, refactoring and code formatting operations are no more going to block user interface and until the specific operation is completed, but will run asynchronously in the background.
Script Summary improvements
The Script Summary is now opened as a non modal tool window and the summary is updated in the background with the SQL document changes.
TFS Policies improvements
Clicking the analysis violations now will open the file,which is the source of the violation.
Enhancements in Error List
Added several filtering options and other improvements.
Other fixes, optimizations and improvements
We did many other improvements in MSBuild, NAnt tasks and command line tool, and Visual Studio and SQL Server Management Studio integration.
You can download and try the final release of SQL Enlight 22.214.171.1241here and the latest version of SQL Enlight for SSMS – here.
January 15th, 2015
Non-ISO standard comparison operator found
It is adviseable to use ISO standard comparison operators instead of non-ISO standard operators to help ensure optimal cross-platform and future version compatibility.
- Not equal to: Use <> instead of !=
- Greater than or equal to: Use >= instead of !<
- Less than or equal to: Use <= instead of !>
While it is currently acceptable to use such non-ISO operators, you should consider that statements that you create might not be supported on other ISO-compliant database management systems.
Also, non-ISO standard comparison operators may not be supported on future versions of SQL Server.
-- Test Case 1: The violation should be reported
SELECT Column1 FROM Table1 WHERE Column1 != 1
-- Test Case 2: The violation should be reported
SELECT Column1 FROM Table1 WHERE Column1 !< 1
-- Test Case 3: The violation should be reported
SELECT Column1 FROM Table1 WHERE Column1 !> 1
-- Test Case 4: A violation should not be reported
SELECT Column1 FROM Table1 WHERE Column1 <> 1
-- Test Case 5: A violation should not be reported
SELECT Column1 FROM Table1 WHERE Column1 >= 1
-- Test Case 6: A violation should no be reported
SELECT Column1 FROM Table1 WHERE Column1 <= 1
The rule can be downloaded here.
October 29th, 2014
We are happy to announce that the next update of SQL Enlight is already here.
Here is a summary of what’s new in version 126.96.36.1994:
- Support for SQL Server 2014 – T-SQL syntax enhancements and new schema features
- Support for analyzing SQL Azure databases
- The Command line tool, NAnt and MSBuild tasks can now accept regular expressions for filtering analysis target objects
- Several performance optimizations of the analysis feature
- Fixes and improvements
The new SQL Enlight version can be downloaded here and new version of SQL Enlight for SSMS can be downloaded here.