Page 1 of 1

SQL CASE Statement

PostPosted: Mon Nov 18, 2024 11:09 am
by wallacedavidl
Hey Team -

I've been using nested IF statements to build stats. Is there a way for me to use a SQL CASE statement? And if so, can you please provide an example?

Thanks, David

Re: SQL CASE Statement

PostPosted: Mon Nov 18, 2024 1:57 pm
by Flag_Hippo
This post and this post have examples.

Re: SQL CASE Statement

PostPosted: Mon Nov 18, 2024 7:45 pm
by wallacedavidl
Thanks. The first article has a great complex example. I need to run some tests. Thanks again. I think you can close this one out;

highfalutin