I have Oracle 10g database table as a source. I'm planning to extract data from this table and insert into SQL Server table. Oracle table contains these data types
NUMBER
NUMBER(2, 7)
LONG
Which are equivalent data types to these in SQL Server?
I was dealing a lot with importing exporting data in and our of MSSQL <-> Oracle and the simplest but also most accurate representation of a data type comparison was this one: http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/apa.htm
In your case you need to do the following:
NUMBER
and try to find the scale/precision (might be server default values)NUMERIC
field with that scale/precision in your MSSQL tableIn General, the simplest way an oracle NUMBER
is represented by the NUMERIC
type. But in some cases the values are actually boleans, integers etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With