[freetds] Support for SQL_WVARCHAR

Eric Bressler eric at firelizards.com
Wed May 24 16:21:04 EDT 2006


I can't find any recent information about if freetds supports the 
SQL_WVARCHAR datatype via ODBC yet. (even in the dev branch).  Can 
anyone enlighten me?  I get this from the sql.log

[ODBC][26243][SQLBindParameter.c][193]
		Entry:            
			Statement = 0x7c105000            
			Param Number = 1            
			Param Type = 1            
			C Type = -8 SQL_C_WCHAR            
			SQL Type = -9 SQL_WVARCHAR            
			Col Def = 34            
			Scale = 0            
			Rgb Value = 0x7b790368            
			Value Max = 70            
			StrLen Or Ind = (nil)
[ODBC][26243][SQLBindParameter.c][339]
		Exit:[SQL_ERROR]
		DIAG [HY004] [FreeTDS][SQL Server]Invalid data type

--Eric




More information about the FreeTDS mailing list