Itgenrst012 al actualizar el tipo de dato bigint en SQL Server

Ik heb op SQL Server een tabel Facturen_Sedis_Inv_NotSentMin met kolom InvoiceNumber_NotSent met datatype bigint. Het volgende statement geeft een foutmelding:

update Facturen_Sedis_Inv_NotSentMin@sql
set    InvoiceNumber_NotSentMin = -1

namelijk:

itgenrst012
The actual data processed must match the data type of the target column ‘InvoiceNumber_NotSentMin’ in ‘i8BI4ExactOnline_NWB.dbo.Facturen_Sedis_Inv_NotSentMin’.
Ensure that the value data type (currently ‘Decimal’) in row #1 is corrected, using for instance cast(VAL as int64).

Hoe los ik dit op?

In release 26.0 is dit probleem opgelost. Gelieve als workaround een cast te gebruiken.

Esta pregunta se cerró automáticamente después de 1 semana de inactividad. La última respuesta dada se ha marcado como solución.

Por favor, haz una nueva pregunta a través de un tema aparte si el problema vuelve a ocurrir. Por favor, incluye en la nueva pregunta un enlace a este tema pegando su URL en el texto.