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.
May 21st, 2014
The step by step guide for creating custom analysis rules with SQL Enlight is available as a .pdf document here.
If you have any questions, please contact us at our support email or use our feedback form.
February 25th, 2014
Until now, only MVPs and trainers are entitled to free SQL Enlight Licenses. Now everyone who authors a custom analysis rule and shares it with the SQL Server Community can also get a free personal license of SQL Enlight For SSMS worth $145.
What you will have to do?
1. Think of a new useful custom analysis rule and implement it.
2. Write a blog post that describes the practice, which it is enforcing and share the rule’s xml file.
You have your rule and post ready, what’s next?
Simply email your rule to firstname.lastname@example.org or send us link to a blog post describing the rule. Once we check the rule we will give you a free SQL Enlight For SSMS license.
Wondering where to start?
First download and install the latest version of SQL Enlight or SQL Enlight For SSMS.
The Analysis Rule Designer which comes with the tools is not limited by the trial period and you can freely use it to learn create and test your analysis rules.
Here is some resources, which you can use:
We are preparing a step by step tutorial for how to create a custom rule with SQL Enlight and will add a link to it in this post as soon as we have the tutorial published.
If you have any questions, please feel free to contact us.