I'm using UniDac 4.0.1 with Delphi XE2 and SQL Server 2008.
I'm having problems when doing an insert into a table with a field of type NVARCHAR(max)
Code: Select all
...
qry.ParamByName('LONGDATA').AsString := ALongString; //6000 chars
qry.ExecSQL;
Using SQL Trace, I can see the generated query has a parameter of type NVARCHAR(max) but its value is already corrupted, so the problem lies in Delphi application.
Any ideas? Any help is really appreciated, thanks.
Daniele Turk