Re: 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: Re: Excel Source [24]] Error: System.Exception: SqlTruncateException: Numeric arithmetic causes
Date: 2024-02-28 20:50:18
Message-ID: CAJyMCYKb7E69zcUQ9fzRuezTY=PhJXU-_d6yU4v-YfP4UXjQ7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Data in Excel

On Wed, 28 Feb 2024 at 22:22, Anthony Apollis <anthony(dot)apollis(at)gmail(dot)com>
wrote:

> 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
image/png 14.9 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Gustafsson 2024-02-28 21:08:56 Re: Documentation diff
Previous Message veem v 2024-02-28 20:28:15 Re: Question on Table creation