'Move bind parameters to the right-hand side of an operator, where
possible.'

def visit_binary(self, binary, **kwargs):

    if (isinstance(binary.left, expression.BindParameter) and (binary.operator == operator.eq) and (not isinstance(binary.right, expression.BindParameter))):
        return self.process(expression.BinaryExpression(binary.right, binary.left, binary.operator), **kwargs)
    return super(MSSQLCompiler, self).visit_binary(binary, **kwargs)
