Data table migrating method and device
An embodiment of the invention provides a data table migrating method and device. The method comprises steps as follows: target data in a currently to-be-migrated target source field are acquired from a source data table of a source database; field conversion information configured by a user in a co...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An embodiment of the invention provides a data table migrating method and device. The method comprises steps as follows: target data in a currently to-be-migrated target source field are acquired from a source data table of a source database; field conversion information configured by a user in a configuration file is called and comprises the correspondence relation of a source field and a target field as well as a conversion function of the data format of the source field and the data format of the target field, wherein the target field is a field in a target data table; on the basis of the field conversion information, the data format of the target data is converted into the data format of the target field corresponding to the target source field; the target data in the converted data format are migrated to the target field corresponding to the target source field in the target data table. With the adoption of the method and the device, data of codes required to be written for data migration can be reduced, and the code writing complexity can be reduced. |
---|