Никогда не работал с SQL Server, но предположил, что ошибка всё же его, и загуглил. Нашлась
тема на Stackoverflow:
Цитата:
Сообщение от Mormegil
The “Error converting data type nvarchar to bigint.” error message means the expression inside convert cannot be converted to a bigint, probably because it is not a properly formatted number.
|
Например, строка, передаваемое в поле bigint, может быть банально пустой. В SQL Server это вызовет ошибку?