sql - C# OleDb INSERT INTO overflow exception -
my query looks this:
insert tblfiles (filename,downloadname,description,length,parts,checksum) values ('img_0228.jpg','file1','description1' ,2694310,1925,26931139928208758813621215525179134210220)
i using access database , table looks this:
this exception get:
an unhandled exception of type 'system.data.oledb.oledbexception' occurred in system.data.dll additional information: overflow
i not understand causing this.
the problem column datatype.
you tried insert 26931139928208758813621215525179134210220
number column generate overflow error.
you should change datatype of checksum
column string/binary
.
Comments
Post a Comment