Itgenrst012 durante l'aggiornamento del tipo di dato bigint in 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.

Questa domanda è stata chiusa automaticamente dopo 1 settimana di inattività. L’ultima risposta fornita è stata contrassegnata come soluzione.

Se il problema si ripresenta, ti preghiamo di porre una nuova domanda in un argomento separato. Nella nuova domanda, ti chiediamo di includere un link a questo argomento incollandone l’URL nel testo.