Supercharge Your Innovation With Domain-Expert AI Agents!

Data table field modification method and device, equipment and medium

A technology for modifying devices and data tables, which is applied in the field of information processing, and can solve problems such as low efficiency of database table fields and inability to realize all modifications at one time

Pending Publication Date: 2020-04-28
北京启迪区块链科技发展有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The disadvantage of the above solution is that each time you need to manually select which table to modify, you can only modify one table at a time. For the same comments corresponding to different fields in the database table, you cannot modify them all at once, and the efficiency of modifying the fields in the database table is low.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data table field modification method and device, equipment and medium
  • Data table field modification method and device, equipment and medium
  • Data table field modification method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 It is a schematic flowchart of the modification method of the data table field in the first embodiment of the present invention. This embodiment is applicable to the situation of unifying fields with the same annotation information in different data tables. The method can be executed by the device for modifying the fields of the data table, the device can be realized by hardware / or software, and can be configured in electronic equipment. The method specifically includes the following:

[0052] S110. Obtain annotation information of each data table in the database, and construct an annotation information base according to the annotation information; wherein, the annotation information base includes annotation information corresponding to all fields in each data table in the database.

[0053] In this embodiment, each field stored in the database will correspond to unique annotation information, and according to the corresponding relationship between each field...

Embodiment 2

[0064] figure 2 It is a schematic flowchart of the modification method of the data table field in the second embodiment of the present invention. This embodiment is further expanded and optimized on the basis of the above embodiments, and can be combined with any optional solution in the above technical solutions. Such as figure 2 As shown, the method includes:

[0065] S210. Obtain annotation information of each data table in the database, and construct an annotation information base according to the annotation information; wherein, the annotation information base includes annotation information corresponding to all fields in each data table in the database.

[0066] S220. Extract a piece of annotation information from the annotation information database as the current annotation information, and search whether there is the same annotation information as the current annotation information in each data table of the database.

[0067] In this embodiment, select the parent ...

Embodiment 3

[0086] image 3 It is a schematic flowchart of the device for modifying data table fields in Embodiment 3 of the present invention. This embodiment is applicable to the situation of unifying fields with the same comment information in different data tables. The device is configured in an electronic device, and can implement the method for modifying a data table field described in any embodiment of the present application.

[0087] The device specifically includes the following:

[0088] The construction module 310 is used to obtain the annotation information of each data table in the database, and construct an annotation information library according to the annotation information; wherein, the annotation information library includes annotation information corresponding to all fields in each data table in the database;

[0089] A search module 320, configured to extract an annotation information in the annotation information base as the current annotation information, and sear...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a data table field modification method and device, equipment and a medium. The method comprises the steps of obtaining annotation information of each data table in a database, and constructing an annotation information base; extracting one piece of annotation information from an annotation information base to serve as current annotation information, and searching whether annotation information the same as the current annotation information exists in each data table or not; if the annotation information the same as the current annotation information exists, updating a field corresponding to the current annotation information in each data table according to a corresponding relationship between the current annotation information and the reference field; and extracting the next annotation information as the current annotation information, and repeating the operation until all annotation information is extracted from the annotation information base.According to the embodiment of the invention, the fields with the same annotation information stored in the data tables can be changed according to the annotation information corresponding to the fields, the fields with the same annotation information in each data table can be changed at one time, and the field unification under the same annotation information is effectively realized.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of information processing, and in particular to a method, device, device and medium for modifying database fields. Background technique [0002] The data definition language is used to execute the tasks of the database, and perform operations such as creating, deleting, and modifying the database and various objects in the database. For example: create database or database object, modify database or database object, modify table definition, field, comment, etc.; all definitions on database table definition can be modified through data definition language. Usually, the graphical interface client provided by a third party is used to view the table structure definition, and generate a table definition language according to the field name and field comment of each field to execute, so as to achieve the purpose of modifying the table structure. [0003] The disadvantage of the above sol...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/21G06F16/22
CPCG06F16/217G06F16/2282
Inventor 李亚朴
Owner 北京启迪区块链科技发展有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More