This stuff looks a whole lot like the greek in Joe Celko's Advance SQL book. I'll say now what I said then... Thank God for the CASE statement!!! ;)Quote:
Originally posted by jmodic
Code:DECODE(1, SIGN( SIGN(A-B) + SIGN(C-A)), 1, 0)
- Chris
Printable View
This stuff looks a whole lot like the greek in Joe Celko's Advance SQL book. I'll say now what I said then... Thank God for the CASE statement!!! ;)Quote:
Originally posted by jmodic
Code:DECODE(1, SIGN( SIGN(A-B) + SIGN(C-A)), 1, 0)
- Chris
Amen! ;)Quote:
Originally posted by chrisrlong
This stuff looks a whole lot like the greek in Joe Celko's Advance SQL book. I'll say now what I said then... Thank God for the CASE statement!!! ;)Quote:
Originally posted by jmodic
Code:DECODE(1, SIGN( SIGN(A-B) + SIGN(C-A)), 1, 0)
- Chris