4

Possible Duplicate:
SQL Server equivalent to Oracle LEAST?
Function in SQL Server 2008 similar to GREATEST in mysql?

i am trying to find a SQL Server equivalent of oracle's "GREATEST" function.

something that would return the largest (in this case timestamp) from a list of values given

example: greatest(timestamp1, temestamp2, timestamp3) would return the most current date.

is there something like this in SQL Server i can use?

Thanks!

5

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.