>-----Original Message----- >From: Mindaugas Kavaliauskas [mailto:[email protected]] >Sent: Tuesday, September 22, 2009 7:04 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] MS SQL and ODBC. > >Hi, [...] >> Id_klient is numeric, nazwa is varchar. >> Can anybody check this ? > >I can not check because I do not have MS SQL, but to make >error more informative, I've passed field type to :osCode. You >error log shows it is value 65527. Since it is USHORT value, >it can also mean -9, if it is signed. I can not find nor -9 >neither 65527 field type sql.h. Varchar is defined equal to >12. More tests/docs required.
In attachment you can see type nvarchar( 300) in field NAZWA. In this table I see types : int, nvarchar( n), nchar( n), char(n) and tinyint. In other tables are too : datetime, decimal( n, n), smallint, money, bigint, float and varchar(n). Was this information is enough? Regards, Marek Horodyski
<<attachment: data_types_on_sqlserver.jpg>>
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
