Read this blog carefully and solve your problem: http://escapekeys.com/microsoft-sql-...-the-server/89