Support for SQL_SS_TIME2 / SQL_SS_TIME2_STRUCT

Sebastien FLAESCH <[email protected]> Thu, 25 Jan 2018 14:55:41 +0100
Newsgroups gmane.comp.db.tds.freetds
Organization Four Js Development Tools
Message-ID <[email protected]>
Hi all,

I need to know what is the status of SQL_SS_TIME2 / SQL_SS_TIME2_STRUCT support in 1.00

I am using 1.00.15 for now.

When binding an SQL Parameter with this structure to insert a TIME(N) value, I get the following error:

SQLState = HY003
Message  = [FreeTDS][SQL Server]Program type out of range

Is this structure/type properly supported?

Where can I find some code example?

What needs to be set in the C type, precision and scale in SQLBindParameter() ?

Thanks!
Seb