Upper Limit for Integer

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
joesat
Participant
Posts: 93
Joined: Wed Jun 20, 2007 2:12 am

Upper Limit for Integer

Post by joesat »

Hi,
I have searched the forums and found out that the upper limit for BigInt is 2,147,483,647.

Can someone please let me know what is the upper limit for Integer?

Thanks!
Joel Satire
Cr.Cezon
Participant
Posts: 101
Joined: Mon Mar 05, 2007 4:59 am
Location: Madrid

Post by Cr.Cezon »

the upper limit of int32 is 2147483647.
if you need a greater value you can use a double type.
regards,
Cristina.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The upper limit of BigInt should be 9,223,372,036,854,775,807.

Where did you find that it was different?
  • The upper limit of TinyInt (int8) is 127 (2^(8-1)-1).

    The upper limit of SmallInt (int16) is 32,767 (2^(16-1)-1).

    The upper limit of Integer (int32) is 2,147,483,647 (2^(32-1)-1).

    The upper limit of BigInt (int64) is 9,223,372,036,854,775,807 (2^(64-1)-1).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply