当前位置:网站首页>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 :
边栏推荐
- PostMessage communication
- R language learning notes 1
- CADD course learning (6) -- obtain the existing virtual compound library (drugbank, zinc)
- Typescript get timestamp
- CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
- D2L installation
- 氢氧化钠是什么?
- docker安装mysql并使用navicat连接
- CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
- 行测--资料分析--fb--高照老师
猜你喜欢
Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
The mutual realization of C L stack and queue in I
How to delete the virus of inserting USB flash disk copy of shortcut to
HDU1231 最大连续子序列(分治or动规or双指针)
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
剑指 Offer 56 数组中数字出现的次数(异或)
【Node】nvm 版本管理工具
Altimeter data knowledge point 2
2022 PMP project management examination agile knowledge points (7)
随机推荐
Typescript get timestamp
Ugnx12.0 initialization crash, initialization error (-15)
Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
SOC_ SD_ DATA_ FSM
UNIX commands often used in work
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
NPM and package common commands
Brief description of inux camera (Mipi interface)
ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
Today, share the wonderful and beautiful theme of idea + website address
Course learning accumulation ppt
arcgis_ spatialjoin
Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
Unconventional ending disconnected from the target VM, address: '127.0.0.1:62635', transport: 'socket‘
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
Using GEE plug-in in QGIS
The mutual realization of C L stack and queue in I
HDU1232 畅通工程(并查集)
氫氧化鈉是什麼?