Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / February 2005

Tip: Looking for answers? Try searching our database.

DB2 numerical data type on HOST instead of bigint

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marc Heravi - 04 Feb 2005 09:50 GMT
Hello NG,

for overflow reasons on numerical accumulation
of an int column during SELECTion i have to
change the data type of a column from "int"
to "bigint".
However that doesn't apply to the HOST based DB2,
the customer's administrator told me there is no
"bigint" data type. So which data type would you
propose as an alternative to "bigint" on host
preventing the overflow when SUMming during
SELECTion?
(column contains milliseconds of processing,
user reports can contain up to years of
processing accumulated)

Thank you for each reply,
Marc.
Mark Yudkin - 04 Feb 2005 13:36 GMT
DECIMAL
> Hello NG,
>
[quoted text clipped - 14 lines]
> Thank you for each reply,
> Marc.
Thiru - 07 Feb 2005 04:41 GMT
Hi,
 You can try either of DOUBLE(8 bytes), DOUBLE PRECISION(8 bytes),
DECIMAL(4 bytes), DEC(4 bytes) or NUMERIC(4 bytes).

Cheers,
Thiru
WantedToBeDBA@gmail.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.