Conversion algorithm from XQuery to SQL query language and method for querying relational data
A query language and conversion algorithm technology, applied in the database field, can solve the problems of reducing conversion mode mapping dependence, many restrictions, simple functions, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0060] The design idea of the present invention is: since standard SQL statements run on mainstream relational databases, XQuery can be indirectly used to query relational data by converting XQuery into SQL. The conversion algorithm of the invention only needs to generate SQL query statements, which can be nested at any level, but does not need to generate SQL data definition and data operation statements. The conversion algorithm of the present invention uses a mapping algorithm from a fixed relational schema to an XML schema, and the algorithm only considers data query and does not consider complex relations such as keys, foreign keys and constraints in the relational schema. The invention can be used to realize the XQuery query extension of the relational database.
[0061] The present invention first maps relational data to XML schema. In a relational database, data is actually stored in a data table, or a data window can be realized by creating a view. This algori...
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