vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| DECIMAL "Marc Heravi" <marcsimone@arcor.de> wrote in message news:42034580$0$822$9b4e6d93@newsread2.arcor-online.net... > 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. > > |
| ||||
| 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 |