当前位置:网站首页>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 :

边栏推荐
- Concurrent programming - how to interrupt / stop a running thread?
- [software testing] 02 -- software defect management
- Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
- I implement queue with C I
- Netease to B, soft outside, hard in
- Daily Practice:Codeforces Round #794 (Div. 2)(A~D)
- HDU1231 最大连续子序列(分治or动规or双指针)
- Binary search (half search)
- 公安基础知识--fb
- [vscode] prohibit the pylance plug-in from automatically adding import
猜你喜欢

Chapter 2: try to implement a simple bean container

Don't confuse the use difference between series / and / *

And play the little chestnut of dynamic agent

Graduation thesis project local deployment practice

第 2 章:小试牛刀,实现一个简单的Bean容器

2022 PMP project management examination agile knowledge points (7)

一文揭开,测试外包公司的真实情况

Daily Practice:Codeforces Round #794 (Div. 2)(A~D)

611. Number of effective triangles

docker安装mysql并使用navicat连接
随机推荐
Matrix and TMB package version issues in R
Unity ugui how to match and transform coordinates between different UI panels or uis
arcgis_ spatialjoin
纯碱是做什么的?
Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
PostMessage communication
Reading literature sorting 20220104
HDU1232 畅通工程(并查集)
Qu'est - ce que l'hydroxyde de sodium?
[idea] efficient plug-in save actions to improve your work efficiency
Install deeptools in CONDA mode
Unconventional ending disconnected from the target VM, address: '127.0.0.1:62635', transport: 'socket‘
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
Line test -- data analysis -- FB -- teacher Gao Zhao
第 2 章:小试牛刀,实现一个简单的Bean容器
Ugnx12.0 initialization crash, initialization error (-15)
Docker installs MySQL and uses Navicat to connect
Machine learning Seaborn visualization
Delayqueue usage and scenarios of delay queue
【idea】Could not autowire. No beans of xxx type found