Help with converting float to decimal

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

Help with converting float to decimal

Post by ranga1970 »

my source is float target is decimal if i map directly some of the data is being lost and my job is throwing warnings, i am using format function but it not of much help, could some one hel or Suggest????
RRCHINTALA
vinnz
Participant
Posts: 92
Joined: Tue Feb 17, 2004 9:23 pm

Post by vinnz »

What are the SQL type,Length and scale you have used in your source/target stages?
1stpoint
Participant
Posts: 165
Joined: Thu Nov 13, 2003 2:10 pm
Contact:

natural promotion

Post by 1stpoint »

Promoting from float to decimal only requires that you have the appropriated length and scale in the decimal column. No transformation is necessary.
Post Reply