I don't think Teradata has a magic function that works on a single row (MIN() and MAX() are GROUP BY functions), but assuming your list of columns is reasonably small, you can simulate the function in a CASE statement that's not too nasty.
Let's assume you have 4 commensurable fields, col1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.