|
QuiLogic Technologies Inc. |
In Memory SQL / XML Database Technology for Universal Data Management >> SQL/XML-IMDB << |
|
|||||
|
In an attempt to ease the management and access of relational data in xml based environments, QuilLogic has developed an extension to the XQuery draft specification which allows the use of SQL statements within any part of the XQuery statements where an expression is allowed too.
Ø Transfer data between SQL and XML tables/files with ease.
Ø Use correlated values between XQuery and the SQL sub-queries.
When using a SQL statement within the RETURN part of XQuery it is possible to manipulate the content of relational tables by using SQL Insert/Update/Delete statements. Applying a SQL SELECT statement has no effect (although it is possible).
Columns in the WHERE clause section of the SQL query might be compared against any bound variable from the earlier part of the XQuery query, making it effectively possible to use correlated values between XQuery and the SQL sub-queries.
Example:
… (SELECT price FROM TR WHERE TR.price = $Y/[path]/number() AND … ) …
|
|
||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
© QuiLogic Inc. 2000 - 2009 |
|||||||