• 1) Break down into multiple queries.

    2) Use fewer characters.

    3) Call a parameterised stored proc to do the work for you.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.