Page 1 of 1

How to convert VARCHAR to DECIMAL

Posted: Thu Sep 13, 2007 2:11 am
by venki
Hi,

In my jobs i am using two oracle stages. one is source and other one is Lookup. In source column Datatype is Decimal and lookup column datatype is varchar.
Please help me out.

Re: How to convert VARCHAT to DECIMAL

Posted: Thu Sep 13, 2007 3:16 am
by sachin1
it works fine with decimal and varchar column lookup.

Posted: Thu Sep 13, 2007 7:28 am
by chulett
With Server, everything is basically a string under the covers. Simply use it as is or do math on it (+0) to do an implicit conversion to decimal.