[freetds] DATE, TIME and DATETIME2 support

Sebastien FLAESCH sf at 4js.com
Sun Jun 21 03:07:13 EDT 2015

On 06/20/2015 12:35 PM, Frediano Ziglio wrote:
> Il 19/Giu/2015 10:49, "Sebastien FLAESCH" <sf at 4js.com> ha scritto:
>> Hello,
>> Where can I find binding samples using DATE, TIME and DATETIME2?
>> I could not find SQL_SS_TIME2_STRUCT in the header files...
>> (Check sqlncli.h from SQL Server Native client)
> Yes, same structure. Is crafted in a strange way.
> Yes, perhaps we should define it in an installed header. Don't remember if
> we install some headers for ODBC.

So I just need to define the same structures/defines as in sqlncli.h and
(basically) bind as within SQL Native Client ODBC?

Maybe there are some test cases I can look at?


> Frediano
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds

More information about the FreeTDS mailing list