October 28, 2016 | Posted in: SQL Server

For me, I received this error having got up to 1110 case when statements i.e.


when Something = ’1′ then ’2′

else null end as Test

So I assume this is the upper limit allowed by SQL Server.

Be the first to comment.

Leave a Reply


19 − 6 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>