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

Method, electronic device and readable storage medium for generating sql statement

An electronic device and statement technology, applied in the computer field, can solve problems such as low-level, non-standard SQL statements, and non-conformity with business logic, and achieve the effect of automatic and accurate generation

Active Publication Date: 2021-03-02
PING AN TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 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, electronic device and readable storage medium for generating sql statement
  • Method, electronic device and readable storage medium for generating sql statement
  • Method, electronic device and readable storage medium for generating sql statement

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

A method and system for generating an SQL statement, an electronic apparatus and a readable storage medium, which realize automatic and accurate generation of an SQL statement. The method comprises: 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 choosing to generate a universal SQL statement by the user based on the SQL statement generation type selection interface is received, generating and displaying a DDL statement parameter setting interface, and after basic information input by the user based on the DDL statement parameter setting interface is received, generating a DDL statement according to the basic information; and if an instruction of choosing to generate a customized SQL statement by the user based on 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 based on the function change selection interface is received, determining, according to a pre-set mapping relationship between a function change item and an SQL statement block, an SQL statement block corresponding to the selected changed function.

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 Patents(China)
IPC IPC(8): G06F16/242
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