Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server 2005 SSIS Oracle Import Problem

Status
Not open for further replies.

TY4TheTip

MIS
Dec 30, 2008
1
US
Hello All,
I am using the Import/Export Wizard of SSIS to import data from Oracle 9I to SQL Server 2005 SP3. I am using Microsoft OLE DB Provider for Oracle and Microsoft OLE DB Provider for SQL Server. Since I have had some truncation issues in the past, I am mapping Oracle Number to Numeric(38,16) In the SSIS Package. I am showing a discrepancy on some of the Oracle columns that are using the NUMBER data type when precision and scale is not specified. As an example, on one of the rows I imported a column called current_rate. Current_rate displays as 0.681728317630858 when selected in SQL Server Mangement Studio. The same row in Oracle displays the current_rate as .681728318 in both SQL Plus and Toad. I'm hoping someone with expertise in SSIS and Oracle can help me resolve this issue.
 
With SQL Server being the destination I don't think its an SSIS issue. It looks like the displayed value in SQL Plus/Toad is being rounded at 9 decimal places, whilst when viewing the value via Management Studio you're seeing it in full.

Haven't looked for a while but is there a setting in SQL Plus/Toad to set the maximum number of viewed/returned decimal places from a Number type?

Rhys

"The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it"
Terry Pratchett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top