Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: NUMBER vs NUMBER (n)
On Sat, 30 Sep 2006 10:09:39 -0700, DA Morgan <damorgan_at_psoug.org>
wrote:
>
>But Sybrand's point is important as well. Oracle typically does a far
>more efficient job joining number than strings.
Actually, if those numbers were stored as binary numbers: on O/S level number comparisons are often performed as mere subtractions. String comparisons aren't. In my case Oracle would typically need to compare at least 5 leading '0's before finding a difference.
-- Sybrand Bakker, Senior Oracle DBAReceived on Sat Sep 30 2006 - 16:33:40 CDT