Hi All,
I have a situation where DB tables have some numeric columns defined as number , with no sacle/precision defined.
DS imports their definition as decimal(38,10) due to lack of info, which causes some problems like:
writing an 7 digit number to a data set gives a decimal(38,10) number with leading and trailing zeros to the full 38 and 10 scale/percision mentioned (...000000012345678.00000...).
warnings for conversions and disk space and more.
I'm interested in work arounds for cases I can't redefine the columns with proper scale,precision and still get a proper number x digit integer number.
I'm gathering ideas and was wondering of what you might use or can think of for this case.
Thanks in advance,
DB Number Columns (no scale/precision) give warnings
Moderators: chulett, rschirm, roy
DB Number Columns (no scale/precision) give warnings
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
From memory, you can also adjust precision and scale with a Modify stage. Just specify the correct values on input and output links, and supply the appropriate function if automatic casting is not possible (which you can determine from the manual).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.