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

标签 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

如您所见,撇号后面的所有内容都丢失了。

请帮助我。

最佳答案

可能是迁移工具将数据解释为不完整的带引号的字符串并因此丢弃该部分。最好归档bug report in MySQL bug system解决这个问题。

关于MySQL Workbench 数据库迁移 - 撇号后数据截断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16605958/

相关文章:

php - 如何在 UPDATE 语句中使用 INNER JOIN?

php - 如何使用同一对象在数据映射器中添加多行

c# - 如何在 Entity Framework 6 中以编程方式为 MS SQL 创建连接字符串?

asp.net - 不知道如何在sql session 状态中存储 session id

mysql - 如何协调主键、非空、唯一、自增和生成?

PHP for 循环在 2 次循环后停止获取 MYSQL 表行

c++ - 我可以使用 mysql_real_connect 连接到服务器而无需使用 MySQL/C 提及数据库吗?

sql - 如何在 MS Access 2007 或 MS SQL Server 2005 中通过 SQL 将字段转换为行

mysql - 尝试链接两个表但在一个字段中获取所有信息

MySQL 工作台 : merging multiple rows into one row using same call_ID