SQL Complete: Parsing performance improved!

December 13th, 2010

Recently we have released a free SQL Complete tool that provides IntelliSense and script layout for SQL Server. If you like IntelliSense in Visual Studio and write T-SQL, you’ll probably appreciate the productivity improvements with SQL Complete.

However, we received many letters with complaints about SQL Complete work with relatively large scripts with thousands of lines of code. When opening such a script our tool could display the “System.StackOverflowException” message. On some DML statements our add-in even could hang up SSMS. For example, the following query with a large number of OR and AND keywords in the WHERE clause caused hang-ups:

The same could have happened because of large numbers of mathematical operators:

We have done a lot of work optimizing parcing of large scripts, and all these inconveniences were fixed. Also the “Error HRESULT E_FAIL has been returned from a call to a COM component.” error that occurred when working with several documents and closing one of them was fixed.

Also users can take advantage of color schemas that differ from the standard color schema of SSMS. Because selected object was marked with yellow color by default and could not be changed, in some cases in user-defined color schemas the color of symbols was the same as the schema color. Now the color of all elements of the completion drop-down list is selected from the current color schema.

Download the free SQL intellisense add-in for SSMS by Devart.

Leave a Comment