Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: INTEGER type in Oracle ?
Garry Star wrote:
>
> Can someone please explain to me how you store/retrieve an integer value in
> Oracle 8.x? I haven't had an problem in Access, SQLServer, or Sybase but
> Oracle is different.
>
> I'm using ODBC driver but I can't even set a field's type to integer in the
> Schema Manager.
>
> All I can see is NUMBER type and that allows me to write an integer into it,
> but converts it to a floating point value and when I read it, it is returned
> as a double.
>
> I know this must be easy, but I haven't been able to find anything in
> multiple newsgroups, FAQs, dejanews.com, Oracle's tech web site, or
> documentation on the CD,
>
> Thanks in advance...
>
> Garry
> garry_star_at_ads-associates.com
Try NUMBER(n) which is "equivalent" to integers.
HTH
--
We are born naked, wet and hungry...then things get worse Received on Mon Mar 06 2000 - 03:55:23 CST
![]() |
![]() |