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?