Expression1 | The first value you wish to evaluate |
Expression2 | The second value you wish to evaluate |
GREATEST(45,290) will evaluate the values passed as numbers and will return 290
GREATEST('45','290') will evaluate the values passed as text (because the first parameter is text) and will return '45' (the highest value, alphanumerically – “4” comes after “2”)
LEAST('14-May-2006','30-Jun-2005’) will evaluate the values passed as text and will return ’14-May-2006’ (the lowest value, alphanumerically – “1” comes before “3”)
LEAST(to_date('14-May-2006'),to_date('30-Jun-2005')) will evaluate the values passed as dates and will return 30-Jun-2005 (the earliest date)
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation