Quantcast
Channel: ELSE IF vs. just plain ELSE
Viewing all articles
Browse latest Browse all 4

ELSE IF vs. just plain ELSE

$
0
0

I think there was a flaw in your test. If you can show it, it will be easier to figure out.

I've tried

IF 1=1
   SELECT 'True 1=1'

ELSE
   IF 2=2
      SELECT 'True 2=2'

and only got first select to output.


For every expert, there is an equal and opposite expert. - Becker's Law


My blog


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>