Last active
March 10, 2019 12:18
-
-
Save ezhov-da/cd209c6d688517eef19d62b503c83c9c to your computer and use it in GitHub Desktop.
teradata least
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
cast(252 as decimal(18,6)) as one | |
,cast(9602250000.000000 as decimal(18,6)) as two | |
,td_sysfnlib.least(one, two) as resultLeastOne | |
,td_sysfnlib.least(cast(252 as decimal(18,6)), cast(9602250000.000000 as decimal(18,6))) as resultLeastTwo | |
,td_sysfnlib.least(252, 9602250000.000000) as resultLeastThree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment