SQL CASE Statement

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

SQL CASE Statement

Postby wallacedavidl » Mon Nov 18, 2024 11:09 am

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
wallacedavidl
 
Posts: 47
Joined: Sat Aug 03, 2024 4:37 pm

Re: SQL CASE Statement

Postby Flag_Hippo » Mon Nov 18, 2024 1:57 pm

This post and this post have examples.
Flag_Hippo
Moderator
 
Posts: 15174
Joined: Tue Jan 31, 2012 7:50 am

Re: SQL CASE Statement

Postby wallacedavidl » Mon Nov 18, 2024 7:45 pm

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;
wallacedavidl
 
Posts: 47
Joined: Sat Aug 03, 2024 4:37 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 11 guests

cron
highfalutin