Database creation method and device

A database and template technology, applied in the field of data processing, can solve the problems of cumbersome and time-consuming database creation, and achieve the effects of avoiding database instability, improving creation efficiency, and simplifying creation methods

Active Publication Date: 2019-05-31
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for creating a database to solve the problem of cumbersome and time-consuming database creation in the prior art

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
  • Database creation method and device
  • Database creation method and device
  • Database creation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to the embodiment of the present invention, a method embodiment that can be used to implement the embodiment of the device of the present application can be provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a program such as a set of computer-executable instructions computer system, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] According to an embodiment of the present invention, a method for creating a database is provided, figure 1 is a flowchart of a method for creating a database according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps S102 to S108:

[0029] S102: Invoking the pre-stored template database when receiving the request instruction, wherein the request instruction is used to reque...

Embodiment 2

[0054] According to an embodiment of the present invention, there is also provided a database creation device for implementing the above database creation method, the creation device is mainly used to execute the creation method provided in the above content of the embodiment of the present invention, the following describes the embodiment of the present invention The provided database creation device is introduced in detail:

[0055] According to an embodiment of the present invention, a database creation device is provided, Figure 4 is a schematic diagram of a database creation device according to an embodiment of the present invention, such as Figure 4 As shown, the device mainly includes a call unit 10, a generation unit 20, a modification unit 30 and an execution unit 40, wherein:

[0056] The calling unit 10 is used to call the pre-stored template database when a request instruction is received, wherein the request instruction is used to request the creation of the ta...

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 invention discloses a database establishing method and device. The database establishing method comprises the steps of invoking a pre-stored template database under the condition that a request instruction is received, wherein the request instruction is used for requesting for establishment of a target database; generating an establishment script of the template database according to the template database; modifying the establishment script of the template database according to the request instruction to obtain an establishment script of the target database; executing the establishment script of the target database and generating the target database. By means of the database establishing method and device, the problem that database establishment in the prior art is completed and consumes time is solved, and further the effects of simplifying a database establishing mode and improving the database establishing efficiency are achieved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and device for creating a database. Background technique [0002] In the process of data analysis, a relational database is usually required. Generally speaking, a database includes data tables, views, functions, triggers and stored procedures. Among them, data tables and views are used to save and manage data; functions are used to query and calculate data in the process of saving; triggers and stored procedures are used to initialize data, verify and save. [0003] The above parts are necessary components to ensure that the database can work normally, but the creation process of the above parts is cumbersome and troublesome. If each database is created once, it will be an inestimable work, whether it is manually created. It is also a time-consuming and error-prone work to create a database by writing scripts for database creation by technicians. [0004] Aiming at the ...

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
Patent Type & AuthorityPatents(China)
IPC IPC(8): G06F16/21
CPCG06F16/211
Inventor张运
OwnerBEIJING GRIDSUM TECH CO LTD