Fix the incorrect SQL instruction for MS SQLServer