Page 1 of 1

Driver Error?

Posted: Thu 11 Dec 2008 18:25
by worksoft
I'm using the 4.45.13 version of the driver, with BDS 2007 and MSSQL 2005 (Enterprise/Express).

When I post data to database, I receive this error message: "string or binary data would be truncated".

Analising on SQL profiler the instructions sended, I verified that varchar fields are posted with an additional blank space on the sql instruction, exceding the original size of the field, generating the error.

I changed several options on the driver (UseUnicode, TrimFixedChar, etc.)
but nothing of that worked.

Posted: Fri 12 Dec 2008 10:03
by Dimon
Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.