SQL (Structured Query Language) rewriting method and device, electronic equipment and storage medium
A technology of equipment and grammatical structure, applied in the database field, can solve problems such as consuming a lot of time, affecting the accuracy of SQL matching, reducing the efficiency of SQL rewriting, etc., and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0054] In order to improve the efficiency of SQL rewriting, in the embodiment of this application, based on the target grammatical structure information in the SQL rewriting request, determine the corresponding candidate AST identifier, and then select the corresponding candidate AST identifier according to the candidate AST identifier and the preset AST set. Finally, according to the target parameter information in the SQL rewriting request, the candidate AST is rewritten to obtain the corresponding target AST, and then the target SQL corresponding to the target AST is generated.
[0055] In order to better understand the embodiments of the present application, technical terms involved in the embodiments of the present application are firstly described below.
[0056] (1) Database: It is a software for storing data, which can accept and respond to data storage and search requests from other applications.
[0057] (2) Database proxy: It is a program between the database and th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


