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
rsbn1985
Participant
Posts: 3 Joined: Mon Aug 24, 2009 3:41 am
Location: Bangalore
Post
by rsbn1985 » Wed Dec 02, 2009 11:18 pm
I have data that contains both exponential and decimal numbers. So can someone please suggest how i can differentiate between exponential and decimal data and help me in conversion of exponential data to decimal...
gssr
Participant
Posts: 243 Joined: Fri Jan 09, 2009 12:51 am
Location: India
Post
by gssr » Thu Dec 03, 2009 12:08 am
What is the data type of the data.......
RAJ
rsbn1985
Participant
Posts: 3 Joined: Mon Aug 24, 2009 3:41 am
Location: Bangalore
Post
by rsbn1985 » Thu Dec 03, 2009 12:25 am
Its varchar
Badri
gssr
Participant
Posts: 243 Joined: Fri Jan 09, 2009 12:51 am
Location: India
Post
by gssr » Thu Dec 03, 2009 12:46 am
Convert the Varchar Column to Decimal Datatype and Use maximum default length and Scale value
RAJ
rsbn1985
Participant
Posts: 3 Joined: Mon Aug 24, 2009 3:41 am
Location: Bangalore
Post
by rsbn1985 » Thu Dec 03, 2009 1:29 am
But how do i differentiate between a decimal and exponential number
Badri
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Thu Dec 03, 2009 2:08 am
Why would you want to?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Dec 03, 2009 7:58 am
I'm assuming what Ray means is you shouldn't have to. Try the conversion noted and let us know what happens.
-craig
"You can never have too many knives" -- Logan Nine Fingers