SQL parsing method based on regular and string cutting
A parsing method and string technology, applied in the field of SQL database, can solve the problems of enterprise property loss, increase the use cost of developers, and increase the use cost, and achieve the effect of reducing the use cost and removing hidden dangers of insecurity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0031] Adopt the SQL parsing method based on regularization and character string cutting provided by the present invention, the following steps can be adopted for parsing the following original SQL statement:
[0032] Original SQL statement---->select*from school where name="Wang Qiang";
[0033] Step 1: Modify the original SQL statement to: SELECT*FROM school WHERE name="Wang Qiang" through case conversion;
[0034] Step 2, through the regular expression, the above statement can be determined as: SELECT query statement;
[0035] Step 3, judge that the above grammar is correct through regular expressions; in the process of judging, it is mainly done through regular expressions, for example, if the original SQL---->CREATE*FROM school WHERE name="Wang Qiang"; CREATE cannot be followed by FROM, so, through verification, it is known that the current statement has a field error;
[0036] Step 4, split the fields of the SQL statement: SELECT*FROM school WHERE name="Wang Qiang" thr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com