Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: BIGINT support?
"Jean-Luc Fontaine" <jfontain_at_free.fr> wrote in message
news:4244613b.0403130409.17eb54e6_at_posting.google.com...
> I am wondering whether Oracle supports something like the
> BIGINT type (MySQL, PostgreSQL, SQLite, ...), which can handle 64 bits
> signed numbers:
> from -9223372036854775808 to 9223372036854775807.
>
> After searching on the web, it does not seem so (yet?).
> Can the 2 extreme numbers above be stored in and read back from a
> column of some type, and which type?
> (note: in MySQL, BIGINT is equivalent to BIGINT(20): maybe something
> like NUMERIC(20,0) would do?.
>
> Many thanks in advance,
>
>
> Jean-Luc
Jean-Luc
SQL> CREATE TABLE BIGUN (A INT); SQL> INSERT INTO BIGUN VALUES (-9223372036854775808); SQL> INSERT INTO BIGUN VALUES (9223372036854775807);
SQL> COLUMN A FORMAT 99999999999999999999
SQL> SELECT * FROM BIGUN;
A ---------------------
SQL> I suggest you read the docs on tahiti.oracle.com
eric
-- Remove the dross to contact me directlyReceived on Sat Mar 13 2004 - 07:11:03 CST
![]() |
![]() |