Erroneous quote added on indent
Steps to reproduce:
SELECT blah FROM ( SELECT 'blah' AS blah ) AS b WHERE blah = 'blah'
select the whole line of the where clause and increase the indent of it, either by the toolbar icon or the menu item. then place the mouse cursor at the end of the line (where the 'blah' is - make sure you click at the very last character)
Extra quote is added:
WHERE blah = 'blah''
SQL Prompt 126.96.36.199
Microsoft SQL Server Management Studio 10.0.4000.0
Microsoft Analysis Services Client Tools 10.0.4000.0
Microsoft Data Access Components (MDAC) 3.85.1132
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 7.0.5730.11
Microsoft .NET Framework 2.0.50727.3615
Operating System 5.1.2600