MySQL Workbench数据库迁移 - 数据在撇号后截断

时间:2013-05-17 09:41:30

标签: mysql sql-server mysql-workbench data-migration

我正在使用MySQL Workbench数据迁移向导将MS SQL Server R2数据库迁移到MySQL数据库。模式和数据正在正确迁移,但对于具有撇号的字段,撇号后的数据将被截断。 这是一个例子:

字段中的原始数据(在SQL Server中):

<p>It has come to the Association’s attention that some crew members are being required to perform administrative/office duties whilst on airport reserve.</p>
<p>As members would all be aware, your Enterprise Agreement states that Airport Reserve is duty time spent by a flight attendant at the airport awaiting assignment to a flight or duty (Clause 10.1)</p>
<p>However, in the past it has been agreed between the Association and the Company that checking and loading of an aircraft would be an appropriate requirement and should a flight attendant offer to assist the Company in performing other duties within their capabilities, that is also acceptable, but cannot be required.  The Association’s position on this particular issue has been long standing and, in a time where administrative positions have been reduced and with a staff freeze in place, we can see no reason to reconsider this.</p>

返回的数据(在MySQL中):

<p>It has come to the Association

正如您所看到的,撇号后的所有内容都将丢失。

请帮帮我。

1 个答案:

答案 0 :(得分:0)

可能是迁移工具将数据解释为不完整的引用字符串,因此丢弃该部分。最好提交bug report in MySQL bug system来修复此问题。