Bug fix: Typo in SQL Server statement