Re: DATE, TIME and DATETIME2 support

Sebastien FLAESCH <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization Four Js Development Tools
Message-ID <[email protected]>
On 06/20/2015 12:35 PM, Frediano Ziglio wrote:
> Il 19/Giu/2015 10:49, "Sebastien FLAESCH" <[email protected]> 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
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.