I have a table with a date field. By default, select max(date) from table; returns the date in \'dd-mmm-yy\' format. How do I select the date in \'MM/DD/YYYY\'
select max(date) from table;
Check out the to_char function and the date/time formats it accepts.
select to_char(sysdate, 'MM/DD/YYYY') from dual;