Bug #16762 | Invalid SQL generated during migration | ||
---|---|---|---|
Submitted: | 25 Jan 2006 0:16 | Modified: | 14 Jun 2006 13:21 |
Reporter: | Ilya Tsymbal | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S3 (Non-critical) |
Version: | 1.0.22 rc | OS: | Windows (Windows XP) |
Assigned to: | Michael G. Zinner | CPU Architecture: | Any |
[25 Jan 2006 0:16]
Ilya Tsymbal
[26 Jan 2006 18:21]
Jorge del Conde
I reproduced this bug using the supplied create table statement under SQL2005 and MT 1.0.22
[12 May 2006 15:32]
Andrew Timberlake-Newell
"Migration from SQL Server: numeric default values invalid due to parenthesis" might be a better synopses for this issue. The issue also affects under the following config: Migration Toolkit v1.0.25 on Window XP SP2 SQL Server 2005 Enterprise Edition on Window Server 2003 All numeric default values in the generated CREATE TABLE statements are wrapped in parenthesis. Workaround: The easiest work-around is editing the parenthesis out of the default values (in the Creation Results if using Create Objects Online or in the script file if running from a generated file). Fix: I'd guess that this is caused by MT not removing the parenthesis from the value pulled from MS SQL Server....possibly not removing enough parenthesis. In SQL Server Management Studio, the values are displayed in doubled-parenthesis, e.g. ((1)).
[14 Jun 2006 13:29]
Michael G. Zinner
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html