Re: HY003 error

"ZIGLIO, Frediano, VF-IT" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
> 
> Hi Nick,
> 
> Thank you for your reply. You are right with what you said, 
> in the trace
> file I have the following:
> [ODBC][25164][SQLBindCol.c][222]
> 		Entry:            
> 			Statement = 0x83c13d0            
> 			Column Number = 1            
> 			Target Type = 12 SQL_VARCHAR            
> 			Target Value = 0x83c1350            
> 			Buffer Length = 50            
> 			StrLen Or Ind = (nil)
> [ODBC][25164][SQLBindCol.c][282]Error: HY003
> 
> The field type in the database is a varchar. How can I make 
> the correct
> binding.
> 
> Thank you in advance.
> 
>  
> Regards,
>  
> Tony Khalil

The right type is SQL_C_CHAR

freddy77

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
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.