Data synchronization method for source terminal table of database without major key
A data synchronization and database technology, applied in the database field, can solve the problems of data synchronization failure, unpredictable error, unknown data update or deletion, etc., to achieve the effect of speeding up
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0016] The present invention is further described below in conjunction with specific embodiment, but protection scope of the present invention is not limited thereto:
[0017] A data synchronization method for a source table without a primary key in a database is implemented as follows: as listed in the table below, the source table without a primary key in a database has the following data:
[0018] Age
name
32
Zhangsan
21
Lisi
32
Zhangsan
[0019] Add an identification field Rowid in the source table of the database without a primary key and the target table of the database that needs to be synchronized; store unique identification characters in the identification field of each record in the source table, as listed in the following table;
[0020] Age
name
Rowid
32
Zhangsan
AAABc4AADAAAGLUAAA
21
Lisi
AAABc4AADAAAGLUAAB
32
Zhangsan
AAABc4AADAAAGLU...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More