[unixODBC-support] Parametrized prepared queries?

Nick Gorham nick at lurcher.org
Mon Oct 17 08:12:26 BST 2011


On 17/10/2011 07:17, Hamid A. Toussi wrote:
> Hi all,
>
> Sorry if this is a trivial question but I would like to know how I can
> construct a prepared parametrized SQL statement and bind different
> values to its parameters using unixODBC C API.
>
> I am using unixODBC and freetds to connect to MS SQL SERVER. My main
> concern is updating or inserting varbinary values into the database.
>
> Thanks,
> Hamid

Just do a google search for SQLBindParameter and go from there.

-- 
Nick


More information about the unixODBC-support mailing list