We studied the Navicat how to do the data table migration, about three ways:
A, PostgreSQL for example, the source data table SQL dump, exported to SQL (which contains the creation of the database structure and insert data SQL), and then run SQL in the target database, but the main reason is that the exported SQL is a schema name, so to find the target database schema name to replace, Also the self-increment field of the SQL is the method of binding the sequence:
"id" int4 DEFAULT nextval (' simple_captcha_data_id_seq ':: regclass) Not NULL,However the target database is not this sequence, you can create a new sequence first:
Create sequence Tbl_xulie2_id_seq increment by 1 minvalue 1 no maxvalue start with 1;
Here start with can be changed to the same value as the source sequence (you should also create the self-increment field with the serial keyword when creating the table).
B, just pass the table data, do not pass the structure, you can use NAVICAT Export Wizard and Import Wizard, export to txt contains column name, and then import to the target database can;
C, Navicat itself provides a function of data transmission, if using the original table CTRL + C, the target database Ctrl + V can also inspire this function, but the transmission will be error, I have the corresponding sequence also transmitted in the past there are still errors, I did not delve into this problem, gave up.