Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What integer base Oracle operates 2

Status
Not open for further replies.

dbalearner

Technical User
Aug 23, 2003
170
GB
Can you please tell me what integer base Oracle operates. For example is this unsigned integer?

With UNSIGNED INTEGER you have a max value of 4294967295. However, if I perform the following maths, Oracle does not seem to mind!

select 4294967295 * 4294967295 from dual;

4294967295*4294967295
---------------------
1.8447E+19

Thanks
 
I think Oracle will implicitly convert the result to NUMBER, which has a much higher specification.

Retired (not by choice) Oracle contractor.
 
Yes,

Dagon is correct, an integer is (annoyingly) automatically converted to a number (38,0).

Regards

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top