Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: NUMBER vs NUMBER (n)
Mark Townsend wrote:
>
>> >> 2) For surrogate key, is it better to use INTEGER, or NUMBER or NUMBER >> (n) ? why ? >> >> Thank you, >> xtanto
In principle I agree. If it isn't being used for purposes of calculation it isn't a number.
But Sybrand's point is important as well. Oracle typically does a far more efficient job joining number than strings.
Perhaps another optimization project for 11g.
-- Daniel Morgan University of Washington Puget Sound Oracle Users GroupReceived on Sat Sep 30 2006 - 12:09:39 CDT
![]() |
![]() |