Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: No unsigned in Oracle?

Re: No unsigned in Oracle?

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Thu, 13 Jul 2006 13:13:19 GMT
Message-ID: <J2CFEB.L5v@igsrsparc2.er.usgs.gov>


Jens Lenge wrote:
> Hello world,
>
> am I just too blind or is there really no equivalent to unsigned
> integer types in Oracle?
>
> I understand that Oracle maps all integer data types onto its own
> NUMBER type, yet it does accept ANSI data types in SQL statements and
> does the mapping internally.
>
> However, my Oracle9i does not even accept SQL statements involving
> types like "smallint unsigned". Is this normal or am I doing something
> wrong?
>
> Jens
>

The Oracle SQL Reference document shows the datatypes available in Oracle:

http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i54335

There is no SMALLINT. This doc even shows that the ANSI SMALLINT datatype is equivalent to NUMBER(38) in Oracle.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Jul 13 2006 - 08:13:19 CDT

Original text of this message

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