SQLExecDirect() + SQLDataParam() + SQLPutData() fails

Sebastien FLAESCH <[email protected]> Fri, 29 Jun 2018 15:09:09 +0200
Newsgroups gmane.comp.db.tds.freetds
Organization Four Js Development Tools
Message-ID <[email protected]>
Hi all,

Just asking before sending a little code sample to reproduce:

Is there a know limitation regarding VARCHAR(MAX)/VARBINARY(MAX) parameters
and SQLExecDirect() + SQLParamData() + SQLPutData() ?

When using SQLPrepare() + SQLExecute() + SQLParamData() + SQLPutData(), I can
send Large Objects, but with SQLExecDirect(), I get the error:

[FreeTDS][SQL Server]Function sequence error

When doing the first SQLPutData() ...

Seb