DataGrip 2019.2.5 —— MySQL数据表迁移到SQL Server数据表解决方案

来自编程技术交流中心(QQ群:167998652)——StarSky_STZG
本文链接: https://blog.csdn.net/weixin_43272781/article/details/102692904

问题描述

DataGrip 2019.2.5中导出的MySQL数据库的数据表不能直接迁移到SQL Server数据库的数据表。 

系统环境

DataGrip 2019.2.5

MySQL 8.0

SQL Server

问题分析

 MySQLSQL ServerSQL语法存在差异性。

解决方案

导出 

修改

 用记事本打开SQL文件

查找数据库.数据表,替换成数据表

保存

导入

打开Files窗口

clipboard.png

右键Attach Directory添加SQL文件所在目录

右键SQL文件并且执行SQL文件

选择导入的数据库

参考文章

https://www.cnblogs.com/xuange306/p/9121059.html

https://blog.csdn.net/weixin_34245169/article/details/88723357

猜你喜欢

转载自blog.csdn.net/weixin_43272781/article/details/102692904