sas - SQL case when behaves like if else if -


when write sql case when statement(s), function if, if ,..if logic or if, else-if , else-if, else logic?

i.e if condition matches case #1, still evaluate other cases?

any self-respecting database short circuit, didn't mention database using. so, try it: select case when 1=1 1 else 1/0 end , see.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -