[unixODBC-dev] HY003 error

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Oct 23 12:23:58 BST 2008


> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3129 bytes
Desc: not available
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20081023/86f798dd/attachment.bin>


More information about the unixODBC-dev mailing list