gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 01:37:54 25 4
gpt4 key购买 nike

我正在使用 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com