Database establishing method and device

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

Active Publication Date: 2015-03-11
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 7 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 establishing method and device
  • Database establishing method and device
  • Database establishing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to the embodiments of the present invention, a method embodiment that can be used to implement the device embodiments of the present application can be provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a set of computer executable instructions, for example. is performed in a 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 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: Calling the pre-stored template database in the case of receiving the request instruction, wherein the request instruction is used to reques...

Embodiment 2

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

[0055] According to an embodiment of the present invention, an apparatus for creating a database is provided, Figure 4 is a schematic diagram of an apparatus for creating a database according to an embodiment of the present invention, such as Figure 4 As shown, the device mainly includes a calling unit 10, a generating unit 20, a modifying unit 30 and an executing unit 40, wherein:

[0056] The calling unit 10 is configured to call the pre-stored template database when receiving the request instruction, wherein the request instruction is used to request the creation of the target database, that is, after receiving the ...

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 present invention relates to the field of data processing, in particular, to a database creation method and device. Background technique [0002] In the process of data analysis, relational databases are usually used. Generally speaking, databases include 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 save data in the process of calculation; triggers and stored procedures are used to initialize data, check and save. [0003] The above parts are necessary parts 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 immeasurable work. Either creating a database by a technician writing a script to create the database is a time-consuming and error-prone task. [0004] For the problem that database creation in the related ar...

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 & AuthorityApplications(China)
IPC IPC(8): G06F17/30
CPCG06F16/211
Inventor张运
OwnerBEIJING GRIDSUM TECH CO LTD