ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Generating SQL/XML query and update statements
Full text PdfPdf (378 KB)
Source
Conference on Information and Knowledge Management archive
Proceeding of the 18th ACM conference on Information and knowledge management table of contents
Hong Kong, China
SESSION: Industry data and query similarity table of contents
Pages: 1187-1196  
Year of Publication: 2009
ISBN:978-1-60558-512-3
Authors
Matthias Nicola  IBM Silicon Valley Lab, San Jose, CA, USA
Tim Kiefer  Technische Universität Dresden, Dresden, Germany
Sponsors
SIGIR: ACM Special Interest Group on Information Retrieval
SIGWEB: ACM Special Interest Group on Hypertext, Hypermedia, and Web
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 15,   Downloads (12 Months): 40,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1645953.1646104
What is a DOI?

ABSTRACT

The XML support in relational databases and the SQL/XML language are still relatively new as compared to purely relational databases and traditional SQL. Today, most database users have a strong relational and SQL background. SQL/XML enables users to perform queries and updates across XML and relational data, but many struggle with writing SQL/XML statements or XQuery update expressions. One reason is the novelty of SQL/XML and of the XQuery expressions that must be included. Another problem is that the tree structure of the XML data may be unknown or difficult to understand for the user. Evolving XML Schemas as well as hybrid XML/relational schemas make it even harder to write SQL/XML statements. Also, legacy applications use SQL but may require access to XML data without costly code changes.

Motivated by these challenges, we developed a method to generate SQL/XML query and update statements automatically. The input is either a GUI or a regular SQL statement that uses logical data item names irrespective of their actual location in relational or XML columns in the database. The output is a SQL/XML statement that queries or updates relational and XML data as needed to carry out the original user statement. This relieves the user and simplifies schema evolution and integration. We have prototyped and tested the proposed method on top of DB2 9.5.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
Escobar, F. J. C. et al. "XML Information Retrieval Using SQL2Xquery", Tecnologico de Monterrey - Campus cd. De Mexico. Departmento do Computacin, 2002.
 
3
 
4
IBM, DB2 pureXML at Douglas Holding AG, http://www.ibm.com/software/success/cssdb.nsf/CS/LWIS-6XCUYX, Jan 2007.
 
5
IBM, DB2 pureXML at New York State Tax, ftp://ftp.software.ibm.com/common/ssi/pm/ab/n/imc14008usen/IMC14008USEN.PDF, Jan 2008.
 
6
IBM, DB2 pureXML at UCLA Health System, http://www.ibm.com/software/success/cssdb.nsf/CS/LWIS-7PKLWW, Feb 2009.
 
7
IBM, DB2 pureXML Case Studies, http://www.ibm.com/developerworks/wikis/display/db2xml/DB2+pureXML+Case+Studies
 
8
Jahnkuhn, H. et al. "Query Transformation of SQL into XQuery Within Federated Environments", QLQP 2006, EDBT Workshop, LNCS 4254.
 
9
 
10
Loeser, H., Nicola, M. and Fitzgerald, J. "Index Challenges in Native XML Database Systems ", BTW 2009.
11
 
12
Nicola, M. and Kumar-Chatterjee, P. "DB2 pureXML Cookbook", IBM Press, ISBN 0138150478, 2009.
13
 
14
The XQuery Update Facility, http://www.w3.org/TR/xquery-update-10/

Collaborative Colleagues:
Matthias Nicola: colleagues
Tim Kiefer: colleagues