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 -> Re: BIGINT support?

Re: BIGINT support?

From: Eric Parker <eric.parkerthedross_at_virgin.net>
Date: Sat, 13 Mar 2004 13:11:03 -0000
Message-ID: <2LD4c.347$Ga1.285@newsfe3-win.server.ntli.net>

"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
---------------------

 -9223372036854775808
  9223372036854775807

SQL> I suggest you read the docs on tahiti.oracle.com

eric

-- 
Remove the dross to contact me directly
Received on Sat Mar 13 2004 - 07:11:03 CST

Original text of this message

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