首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MySQL工作台数据库迁移-撇号后截断数据

问MySQL工作台数据库迁移-撇号后截断数据
EN

Stack Overflow用户
提问于 2013-05-17 17:41:30
回答 1查看 291关注 0票数 0

我正在使用MySQL工作台数据迁移向导将MS SQL Server R2数据库迁移到MySQL数据库。模式和数据正在正确迁移,但对于带有撇号的字段,撇号后的数据将被截断。下面是一个示例:

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

代码语言:javascript
复制
<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):

代码语言:javascript
复制
<p>It has come to the Association

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

请帮帮我。

EN

回答 1

Stack Overflow用户

发布于 2013-05-18 21:54:46

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16605958

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档