Conversion of Exponential to Decimal

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

Post Reply
rsbn1985
Participant
Posts: 3
Joined: Mon Aug 24, 2009 3:41 am
Location: Bangalore

Conversion of Exponential to Decimal

Post by rsbn1985 »

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 »

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 »

Its varchar
Badri
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

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 »

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 »

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
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

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
Post Reply