Skip to Content.
Sympa Menu

freetds - Re: [freetds] DATE, TIME and DATETIME2 support

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] DATE, TIME and DATETIME2 support
  • Date: Sun, 21 Jun 2015 09:07:13 +0200

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?

Seb

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






Archive powered by MHonArc 2.6.24.

Top of Page