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 -> EXTRACT versur TO_CHAR

EXTRACT versur TO_CHAR

From: Dereck L. Dietz <dietzdl_at_ameritech.net>
Date: Thu, 01 Mar 2007 02:51:33 GMT
Message-ID: <VcrFh.3145$BE2.2649@newssvr27.news.prodigy.net>


Is there any performance differences between using:

EXTRACT(MONTH FROM variable) and TO_CHAR(variable,'MM')

or do they both perform just as efficiently as the other?

I have some PL/SQL code where it is using the EXTRACT to compare date portions of one field against date portions of another field.

Thanks. Received on Wed Feb 28 2007 - 20:51:33 CST

Original text of this message

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