Online structured query language script processing method and apparatus
A structured query and script technology, applied in the database field, can solve the problems of low execution efficiency of SQL scripts on database online, affecting the progress of IT system online, and high labor costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] This embodiment provides a processing method for online SQL scripts, such as figure 1 As shown, the processing flow of the method of this embodiment includes the following steps:
[0047] Step 101, obtaining the online SQL script of the currently processed file in the file list.
[0048] When there is a new function requirement to go online, the developer will first analyze the requirement, and then write the online SQL script according to the writing format of the SQL statement. The writing format of the online SQL script is regulated by the specification document compiled by the implementation, and the storage format of the SQL script is unified. In text format, with .sql or .txt as the file suffix. In order to avoid Chinese garbled characters when the subsequent processing device reads the online SQL script, the encoding format of the SQL script adopts a unified encoding format. After developers write and store online SQL scripts, the processing device will review ...
Embodiment 2
[0107] The embodiment of the present invention also provides a processing device for online SQL scripts, such as figure 2 As shown, the device includes: an obtaining unit 201, an examining unit 202, and a merging unit 203, wherein,
[0108] The obtaining unit 201 is used to obtain the online SQL script of the currently processed file in the file list;
[0109] The review unit 202 is configured to review the SQL statement in the online SQL script obtained by the obtaining unit 201, and output error information, and the error information includes the position information of the wrong SQL statement or wrong comment in the online SQL script and Error description, the error information is used to prompt the operator to modify the error SQL statement or error comment;
[0110] The merging unit 203 is configured to split and merge the canonical SQL statements in each processing file in the file list according to the statement type of the canonical SQL statement checked by the revie...
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