Re: Support for SQL_SS_TIME2 / SQL_SS_TIME2_STRUCT

Sebastien FLAESCH <[email protected]> Thu, 25 Jan 2018 16:41:47 +0100
Newsgroups gmane.comp.db.tds.freetds
Organization Four Js Development Tools
Message-ID <[email protected]>
FYI I am using the binding params as described here:

https://docs.microsoft.com/en-us/sql/relational-databases/native-client-odbc-how-to/use-date-and-time-types

Seb

On 01/25/2018 02:55 PM, Sebastien FLAESCH wrote:
> 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
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> https://lists.ibiblio.org/mailman/listinfo/freetds
> 

_______________________________________________
FreeTDS mailing list
[email protected]
https://lists.ibiblio.org/mailman/listinfo/freetds