TO_CHAR or TRUNC? Which one is more efficient?
UllhasAug 8 2011 — edited Aug 8 2011Hi,
Which one is more efficient? TO_CHAR or TRUNC? (Primarily for of DATE columns)
Like for following queries. If I use the functions in group by clause which one could give better performance.
select to_char(sysdate, 'DD/MM/YYYY') from dual;
select trunc(sysdate) from dual;
Regards,
Ullhas