Bug #9550 Char and varchar column sizes returned as -1, can't import data from MS-SQL DTS
Submitted: 1 Apr 2005 3:30 Modified: 8 Dec 2005 16:06
Reporter: Jim Starr Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.11 OS:Windows (Windows)
Assigned to: Bogdan Degtyariov CPU Architecture:Any

[1 Apr 2005 3:30] Jim Starr
Description:
I can't import data using DTS from MS SQL Server because all lengths of char and varchar columns are returned as -1 by MyODBC.  (Error is "data overrun")

This problem has been around for a long time and has been reproduced (see bug reports 996 and 6452).  It is time it should be fixed.

Thanks.

How to repeat:
Use MS-SQL Server's DTS to export a table containing char or varchar columns.
[8 Dec 2005 16:06] Bogdan Degtyariov
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/

Additional info:

This bug has been fixed in the Connector/ODBC v.3.51.12