当前位置:网站首页>With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table
With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table
2022-07-05 07:27:00 【12 procedural ape】
Mode one : see mysql How to make Table data in a database Copied to the In another database table ( Two databases are not linked to the same database ) , There's no more encumbrance here
Mode two : With the help of Navicat for MySQL Software
1. Open the data to be copied , Retrieve data on demand , Then click export
2. In the pop-up window below On demand Choose to click “ At present 3 Bar record ”
3. Select the export format , Choose the format you want , I choose export here SQL Script files
4. Click next
5. Select export fields , Because I don't want to export id( The primary key increases automatically ) Field , therefore I put id Uncheck the . And then click next
6. Click next
7. Click Start
8. according to export path , Get the corresponding sql
INSERT INTO `warn_message`(`device_id`, `device_type`, `extend_json`, `install_place_id`, `pound_order_id`, `rational_deviation`, `real_deviation`, `overtime_duration`, `warn_type`, `deal_flag`, `deal_result`, `active_flag`, `created_user`, `created_time`, `updated_user`, `updated_time`, `warning_level`, `organization_id`, `start_time`, `end_time`, `description`, `resolver`, `third_warn_id`, `relation_user_id`) VALUES (1842, 8, NULL, 102, 0, 0.000, 0.000, 0, 0, 1, ' The system automatically cancels the alert ', 1, 0, '2021-02-03 11:23:00', 0, '2021-02-03 14:40:00', 3, 1047, '2021-02-03 11:23:00', '2021-02-03 14:40:00', NULL, NULL, '6534', NULL);
INSERT INTO `warn_message`(`device_id`, `device_type`, `extend_json`, `install_place_id`, `pound_order_id`, `rational_deviation`, `real_deviation`, `overtime_duration`, `warn_type`, `deal_flag`, `deal_result`, `active_flag`, `created_user`, `created_time`, `updated_user`, `updated_time`, `warning_level`, `organization_id`, `start_time`, `end_time`, `description`, `resolver`, `third_warn_id`, `relation_user_id`) VALUES (1842, 8, NULL, 102, 0, 0.000, 0.000, 0, 0, 1, ' The system automatically cancels the alert ', 1, 0, '2021-02-03 11:43:00', 0, '2021-02-03 14:40:00', 3, 1047, '2021-02-03 11:43:00', '2021-02-03 14:40:00', NULL, NULL, '6534', NULL);
INSERT INTO `warn_message`(`device_id`, `device_type`, `extend_json`, `install_place_id`, `pound_order_id`, `rational_deviation`, `real_deviation`, `overtime_duration`, `warn_type`, `deal_flag`, `deal_result`, `active_flag`, `created_user`, `created_time`, `updated_user`, `updated_time`, `warning_level`, `organization_id`, `start_time`, `end_time`, `description`, `resolver`, `third_warn_id`, `relation_user_id`) VALUES (1842, 8, NULL, 102, 0, 0.000, 0.000, 0, 0, 0, ' The system automatically cancels the alert ', 1, 0, '2021-02-03 12:11:00', 0, '2021-02-03 13:56:00', 3, 1047, '2021-02-03 12:11:00', '2021-02-03 13:56:00', NULL, NULL, '6534', NULL);
9. Take what you get from above sql sentence , Execute in the target database
Execution results :
边栏推荐
- 苏打粉是什么?
- [untitled]
- Rough notes of C language (1)
- Professional knowledge of public security -- teacher bilitong
- Ethtool principle introduction and troubleshooting ideas for network card packet loss (with ethtool source code download)
- 氫氧化鈉是什麼?
- [OBS] x264 Code: "buffer_size“
- Selenium element positioning
- Machine learning Seaborn visualization
- Energy conservation and creating energy gap
猜你喜欢
[vscode] prohibit the pylance plug-in from automatically adding import
Machine learning Seaborn visualization
611. Number of effective triangles
Ethtool principle introduction and troubleshooting ideas for network card packet loss (with ethtool source code download)
CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
The mutual realization of C L stack and queue in I
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
C learning notes
How to deal with excessive memory occupation of idea and Google browser
IPage can display data normally, but total is always equal to 0
随机推荐
[software testing] 05 -- principles of software testing
Mathematical analysis_ Notes_ Chapter 8: multiple integral
Rough notes of C language (1)
2022年PMP项目管理考试敏捷知识点(7)
611. Number of effective triangles
Tshydro tool
Intelligent target detection 59 -- detailed explanation of pytoch focal loss and its implementation in yolov4
What if the DataGrid cannot see the table after connecting to the database
HDU1232 畅通工程(并查集)
Simple operation of nixie tube (keil5)
docker安装mysql并使用navicat连接
Detailed explanation of miracast Technology (I): Wi Fi display
SD_ CMD_ SEND_ SHIFT_ REGISTER
DelayQueue延迟队列的使用和场景
The problem of configuring opencv in qt5.13.2 is solved in detail
C#学习笔记
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
一文揭开,测试外包公司的真实情况
HDU1231 最大连续子序列(分治or动规or双指针)