Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method of generating SQL statements, electronic device and readable storage medium

An electronic device and sentence technology, applied in the computer field, can solve problems such as low efficiency, error-prone efficiency, and inconformity with business logic, and achieve the effect of automatic and accurate generation

Active Publication Date: 2018-02-09
PING AN TECH (SHENZHEN) CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing system development, SQL statements are generally manually written by developers. In addition to carefully understanding business logic knowledge and professional SQL knowledge, they also face the problem that the SQL statements written by themselves are not in compliance with specifications, business logic, error-prone and inefficient. low problem

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
  • Method of generating SQL statements, electronic device and readable storage medium
  • Method of generating SQL statements, electronic device and readable storage medium
  • Method of generating SQL statements, electronic device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] The invention provides a system for generating SQL statements. see figure 1 , is a schematic diagram of the operating environment of a preferred embodiment of the system 10 for generating SQL statements in the present invention.

[0033] In this embodiment, the system 10 for generating SQL statements is installed and runs in the electronic device 1 . The electronic device 1 may include, but not limited to, a memory 11 , a processor 12 and a display 13 . figure 1 Only the electronic device 1 is shown with components 11-13, but it is understood ...

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 method of generating SQL statements, an electronic device and a readable storage medium. The method includes: receiving an SQL statement generation instruction sent by a user, and generating and displaying an SQL statement generation type selection interface; if an instruction of selecting generation of universal SQL statements by the user on the basis of the SQL statement generation type selection interface is received, generating and displaying a DDL (data definition language) statement parameter setting interface, and after basic information input by the user on the basis of the DDL statement parameter setting interface is received, generating DDL statements according to the basic information; and if an instruction of selecting generation of customized SQL statements by the user on the basis of the SQL statement generation type selection interface is received, generating and displaying a function change selection interface, and after a changed function selected by the user on the basis of the function change selection interface is received, determining SQL statement blocks, which correspond to the selected changed function, according to mapping relationships of preset function change items and SQL statement blocks. The method realizes automatic and accurate generation of the SQL statements.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for generating SQL statements, an electronic device and a readable storage medium. Background technique [0002] In the existing system development, SQL statements are generally manually written by developers. In addition to carefully understanding business logic knowledge and professional SQL knowledge, they also face the problem that the SQL statements written by themselves are not in compliance with specifications, business logic, error-prone and inefficient. Lower problem. Contents of the invention [0003] The main purpose of the present invention is to provide a method for generating SQL statements, an electronic device and a readable storage medium, aiming at automatically and accurately generating SQL statements. [0004] In order to achieve the above object, the present invention provides an electronic device, which includes a memory, a processor, and a sys...

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 & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2433G06F16/2448
Inventor 沈毅张勋王刚
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products