dbTalk Databases Forums  

Money data type from Oracle

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Money data type from Oracle in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
WL UK
 
Posts: n/a

Default Money data type from Oracle - 02-22-2005 , 01:53 PM






Hi all
I'm trying to bring a monetary value from an Oracle server into an SQL 2000
environment. In the oracle table the monetary value displays with two
decimal places but when viewed in the SQL table it has rounded to no decimal
places. It does not matter what data type I use when bringing it into SQL it
always rounds to no decimals.
Has anybody had any similar problems?
Thanks

Reply With Quote
  #2  
Old   
Rakesh Doebe via SQLMonster.com
 
Posts: n/a

Default Re: Money data type from Oracle - 02-23-2005 , 08:08 AM






Did you try :

select convert(money,(replace('0.44','.',',')))

--
Message posted via http://www.sqlmonster.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.