January 17, 2012 at 1:44 pm
Hello Friends,
I am trying to migrate one database from oracle to sql 2008 and confused with one particular datatype. In oracle I have a datatype “Number” and I am using “Numeric” in SQL server. Can you guys tell me if it is an appropriate datatype for this conversion? Please Help
January 17, 2012 at 1:54 pm
Per Oracle, Numeric is for fixed and floating point numbers. That's more similar to SQL Server's Float/Real datatype.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
January 17, 2012 at 1:58 pm
it depends; you have to look at oracle and see the size that is assigned; you can't just read NUMBER, when you describe the table you need the size also:, like NUMBER(10~= integer, and NUMBER(19,4) is ~= money.
i do a lot of SQL to Oracle conversions, and use this page as a handy reference:
http://docs.oracle.com/cd/B19306_01/gateways.102/b14270/apa.htm
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply