Driver Error?

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
worksoft
Posts: 2
Joined: Sat 18 Oct 2008 16:24

Driver Error?

Post by worksoft » Thu 11 Dec 2008 18:25

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.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 12 Dec 2008 10:03

Please try to compose a small sample to demonstrate the problem and send it to dmitryg*devart*com.

Post Reply