Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

facing problem with datatype

$
0
0

Hi Everyone,

i  am using source as oracle database , in  one of my table TAG, column SECTION_TOP   which is Number datatype ,  which contains data like

SECTION_TOP 

----------------------

-1.26984
-1.01587
-1.01587
-0.728078
-0.572155
-0.570704
-0.22187
-0.0634115
0
0.0000000000000142109

1.01587
0.22728078
0.44572155
0.1570704
0.322187
0.01634115

this column when i  reading from ssis with  double-precision float  DT_R8(scale, precision)  with (0,0).

source value 0.0000000000000142109 it is retriving as  1.42109E-14, 

this column i am using as an inpupt column in an script component , package is failing across script component with " Input string was not in a correct format."

error message :

[SCRPT_1] Error: System.FormatException: Input string was not in a correct format.
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)

Please advice on this.


karteek_miryala


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>