Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> How get maximum of two columns

How get maximum of two columns

From: <oracle_adam_at_nospam.com>
Date: 13 Aug 2003 21:20:53 GMT
Message-ID: <bhea3l$s4c$1@news.netmar.com>


I have two date columns in a table, DATE1 and DATE2.

How do I get the maximum of DATE1 and DATE2 in a select statement (no PL/SQL), something like SELECT MAXIMUM(DATE1,DATE2) FROM <TABLE>?

Many thanks

Received on Wed Aug 13 2003 - 16:20:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US