Excel Source [24]] Error: System.Exception: SqlTruncateException: Numeric arithmetic causes

From: Anthony Apollis <anthony(dot)apollis(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Excel Source [24]] Error: System.Exception: SqlTruncateException: Numeric arithmetic causes
Date: 2024-02-28 20:22:14
Message-ID: CAJyMCYK0jzjRt6P0rqhahvYen_yCMPJwwSSsf9v9YGa3ju3MnA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Please assist. I am using SSIS to read data from an Excel sheet into
Postgres. I have increased the column size a few times, just cant seem to
get the data in. Getting errors relating to destination column size.

[Excel Source [24]] Error: System.Exception: SqlTruncateException:
Numeric arithmetic causes truncation.. RowNumber=1, ColumnName=Metric
Value [DataType=DT_NUMERIC,Length=0], Data=[Length=12,
Value=311116655.63]
at ZappySys.PowerPack.Adapter.SqlDataComponentBase.HandleException(Exception
ex)
at ZappySys.PowerPack.Adapter.SqlDataComponentBase.PrimeOutput(Int32
outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100
wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers,
IntPtr ppBufferWirePacket)

Attachment Content-Type Size
ssis01.png image/png 162.6 KB
ssis02.png image/png 152.7 KB
ssis03.png image/png 145.8 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message veem v 2024-02-28 20:28:15 Re: Question on Table creation
Previous Message Laurenz Albe 2024-02-28 20:16:33 Re: Orphan files filling root partition after crash