, ,

SQL Enlight 1.7.2.513

Last week we released a new version of SQL Enlight – 1.7.2.513.
It contains just small fixes and 2 new features:

  • A new layout rule ‘Miscellaneous->Keywords padding’.
The layout rule controls the padding of the main keywords in SELECT, INSERT,UPDATE and DELETE  statements.
For example:

-- Keyword Padding option set to 10:
SELECT     ProductID ,
           SpecialOfferID ,
           AVG( UnitPrice ) AS 'Average Price' ,
           SUM( LineTotal ) AS SubTotal
FROM       Sales.SalesOrderDetail
WHERE      SpecialOfferID IN(  1 ,
                               2 ,
                               6 ,
                               9 )
GROUP BY   ProductID ,
           SpecialOfferID
ORDER BY   ProductID ,
           SpecialOfferID DESC

-- Keyword Padding option set to 0:

SELECT ProductID ,
       SpecialOfferID ,
       AVG( UnitPrice ) AS 'Average Price' ,
       SUM( LineTotal ) AS SubTotal
FROM Sales.SalesOrderDetail
WHERE  SpecialOfferID IN(  1 ,
                           2 ,
                           6 ,
                           9 )
GROUP BY ProductID ,
         SpecialOfferID
ORDER BY ProductID ,
         SpecialOfferID DESC
  • A new XSLT extension method ‘execute-query-plan’ which to enable support for query plan analysis.

We will describe in more detail the usage of this method in the next post.

The new version is already available for download here.

Online T-SQL Analyzer

We are happy to announce the release of our new online T-SQL Analyzer.

The T-SQL Analyzer uses the SQL Enlight static code analysis engine to check T-SQL code for compliance with best practices.

The online tool supports the following set of analysis rules: all rules from SA0001 to SA0039 and also rules SA0042, SA0043, SA0051, SA0053 and SA0054.

You can check here for more information about the analysis rules.

, ,

SQL Enlight 1.7.1.502.

Today we released an update of SQL Enlight 1.7 which includes several usability improvements:

– Unicode support added for identifier names.

Example of unicode identifiers usage

– Context only rules are now applied when analyzing server objects using the command line tool and the MSBuild tasks. This feature was missing in the previous release.

– The Context Only rules are can be applied either with using Analyze with Specific Rules… command or when analyzing databases or servers. For instance, the Context Only rules will be skipped when a stored procedure is analyzed, but will be included when a database is selected for analysis from Object Explorer. The Context Only rules will be always applied when explicitly selected.

– Each analysis rule can be separately configured whether to require its parameters to be entered before analysis or not to require parameters. This way, the parameters dialog won’t be shown when rules with no required parameters are selected, but then the default rule parameter values will be used.

– A new Error list command which to instantly show the SQL Enlight Error List window is now added to the SQL Enlight menu.

You can find and download the updated SQL Enlight version here.

,

Analysis template updated

The updated analysis template includes fixes of rules SA0011 , SA0040 and SA0047. These rules had problem with matching specific rule violations inside views and table valued functions.

You can download the updated template here.

Updated analysis template avaliable for download

Today we released an updated analysis template for SQL Enlight. The template includes a fix of analysis rule ‘SA0044: Consider creating statistics on all composite index columns’.

There was a problem with the previous version and it was outputting the incorrect column as candidate for creating statistics.

 You can download the updated template here.

, ,

SQL Enlight 1.7 RTM

We are happy to announce the final release of SQL Enlight 1.7.  The tool is available for download here.

Improvements and new features in SQL Enlight 1.7

  • Integrated analysis rules are removed – now all rules are customizable.
  • Analysis context – server details and database schema are now available during static code analysis and can be used in the analysis rules.
  • Parameterized analysis rules – analysis rules can have parameters that to be specified before analysis.
  • Executed statements history – new feature for saving reusing executed queries in SQL Server Management Studio.
  • Improved analysis rule designer – support the new analysis context, testing of XPath expressions, tree views of test query SQML and analysis.
  • Explicit analysis group – rules in that group can be executed directly from the SQL Enlight menu.
  • Export and import of analysis rules and analysis templates – analysis template and analysis rules now can be exported and easily shared between team members.
  • Analysis before executing T-SQL script – analysis can be configured to be run just before executing T-SQL code in SSMS.
  • Analysis rule selection before analysis – now you can choose which rules to use just before running the analysis.
  • Extended SSMS object explorer analysis menu – the menu now allows using specific analysis group or analysis rule separately.
  • Support for several XPath extension functions including support for the http://exslt.org extension modules.
  • New analysis rules – the default analysis template now includes 19 new static analysis rules.

Thank you all, for your feedback and suggestions! You helped us in creating all the great new features in the current SQL Enlight release!

Hope you will enjoy it as much as we do!

, ,

SQL Enlight 1.7 CTP

Just at the at the end of 2009, we are happy to announce the CTP release of SQL Enlight 1.7!  It took us a while, but we think that the result is worth it.

The new version can download here

Overview

  • Analysis context – server details and database schema are now available during analysis and can be used in the analysis rules.
  • Parameterized analysis rules – analysis rules can have parameters that to be specified before analysis.
  • Executed statements history – new feature for saving reusing executed queries in SQL Server Management Studio.
  • Improved analysis rule designer – support the new analysis context, testing of XPath expressions, tree views of test query SQML and analysis.
  • Explicit analysis group – rules in that group can be executed directly from the SQL Enlight menu. 
  • New analysis rules   – the default analysis template now includes 9 more rules ( 5 of them are explicit rules ).
  • Export and import of analysis rules and analysis templates  – analysis template and analysis rules now can be exported and easily shared between team members.
  • Analysis before executing T-SQL script – analysis can be configured to be run  just before executing T-SQL code in SSMS.
  • Analysis rule selection before analysis –  now you can choose which rules to use just before running the analysis.
  • Extended SSMS object explorer analysis menu – the menu now allows using specific analysis group or analysis rule separately.
  • Several other integration and usability improvements.

        SQL Enlight 1.7 features overview

This release is a CTP which includes the new features of the coming version 1.7.  What the final version is going to include are some optinizations,improvements and completed documentation.

The final version will be available at the beginning of February 2010. Until then, any feedback and feature requests are welcome.

That’s all for now from us, have a nice holidays, Marry Christmas and Happy New Year!

Ubitsoft Team

New web site look

We finnally completed our new web site implementation and the redesign. The new look and feel is thanks to our friends from Oxy Studio.

We are also pleased to offer three new licensing options for SQL Enlight – Academic,Classroom and MVP. Read more about the new licensing here.

, ,

SQL Enlight 1.6

New features in v1.6

  • Custom analysis rules

    Design, implement and tune powerful static analysis rules using XPATH and XSLT.

  • Create and manage analysis groups

    Categorize analysis rules in custom groups.

  • Command line interface

    The command line tool supports server analysis, analysis and layout of T-SQL script files, and report generation.

  • Integration with automated builds

    The MSBuild tasks support server analysis, analysis and layout of T-SQL script files, and report generation.

  • Analysis of SQL Server objects

    Now SQL Enlight can directly analyze servers, databases, stored procedures, functions, views and triggers.