On 2010.04.08 12:56, Horodyski Marek (PZUZ) wrote:
I continue to test sddodbc with mysql  for adding a BIGINT field ...but
error comes out :
*---------------------
Hi Shum,

I too have trouble with new type in MS SQl.
Advice from Mindaugas, try change in fil\harbour\contrib\rddsql\sddodbc\odbcdd.c

Fe.:
║319│      switch( iDataType )
║320│      {
║321│         case SQL_CHAR:
║322│         case SQL_VARCHAR:
║323│         case SQL_LONGVARCHAR:
║324│         case -8:
║325│         case -9:
║326│           pFieldInfo.uiType = HB_FT_STRING;
║327│           break;

Hi,


1) -8 and -9 are SQL_WCHAR and SQL_WVARCHAR. It is not related to BIGINT.

2) BIGINT support was added 2010-04-07.

3) SQL_WCHAR and SQL_WVARCHAR are already in SVN from 2009-11-17, so, no changes are required.


Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to