<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Not sure about a "standard" but the top DB vendors have done this
already years ago<br>
<br>
Oracle:<br>
<a
 href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb13gen.htm#i1027254">http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb13gen.htm#i1027254</a><br>
<br>
MS/SQL<br>
<a href="http://msdn.microsoft.com/en-us/library/aa286527.aspx">http://msdn.microsoft.com/en-us/library/aa286527.aspx</a><br>
<br>
DB2<br>
<a
 href="http://www.ibm.com/developerworks/db2/library/techarticle/dm-0603saracco2/">http://www.ibm.com/developerworks/db2/library/techarticle/dm-0603saracco2/</a><br>
<br>
But if you think SQL is incomprehensible, take a gander at what you
have to do with these (above) implementations to get XML out ....<br>
<br>
Give me pure XQuery any day :)<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">David A. Lee
<a class="moz-txt-link-abbreviated" href="mailto:dlee@calldei.com">dlee@calldei.com</a>  
<a class="moz-txt-link-freetext" href="http://www.calldei.com">http://www.calldei.com</a>
<a class="moz-txt-link-freetext" href="http://www.xmlsh.org">http://www.xmlsh.org</a>
812-482-5224</pre>
<br>
<br>
Brian Maso wrote:
<blockquote
 cite="mid:dcc7a340906151410q2ef52200j7161672f92487729@mail.gmail.com"
 type="cite">I had heard that future versions of the SQL standard are
to bring XML in to SQL -- basically make non-validated XML nodes as
valid column types and add intra-XML indexing. This was quite a while
ago that I heard it, but it was delivered by a reputable source. Seems
like these two language have huge overlap and can eventually be
replaced by a single query language.<br>
  <br>
(Besides, SQL is so incomprehensible for even modestly-sized queries,
it would be great to replace it with something a bit more
understandable such as XQuery; not to mention the legions of vendor
specifics and incompatibilities...)<br>
  <br>
Best regards,<br>
Brian Maso<br>
  <br>
  <div class="gmail_quote">On Mon, Jun 15, 2009 at 12:44 PM, Adam
Retter <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:adam.retter@googlemail.com">adam.retter@googlemail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&gt;
2)Is there (or will there be) possibility to make a<br>
&gt;&gt; database-connection just with XQuery ? So that I can give
host, port,<br>
&gt;&gt; login, passwort, etc and XQuery is able to connect to the
database ?<br>
&gt;&gt; Am I correct, that at the moment it is only possible if you
use XQuery<br>
&gt;&gt; executed from java (or an other programming language, that is
able to<br>
&gt;&gt; create a connection) ?<br>
&gt;<br>
&gt; This depnds on the XQuery engine you use. E.g. for my own Web site,<br>
&gt; the Java-based XQuery engine I use is Qizx, and it does support a<br>
&gt; way to connect to a erlational database (I'm assuming this is<br>
&gt; what you are asking here?), but the zero-dollar version of that<br>
&gt; product is limited to a database of only one gigabyte of XML.<br>
    <br>
Another option, eXist, provides a XQuery Extenesion module for SQL<br>
connections and queries. I would like to see the concepts from there<br>
eventually it into the EXPath/EXQuery efforts<br>
    <font color="#888888"><br>
o<br>
    <br>
--<br>
Adam Retter<br>
_______________________________________________<br>
    <a moz-do-not-send="true" href="mailto:talk@x-query.com">talk@x-query.com</a><br>
    <a moz-do-not-send="true"
 href="http://x-query.com/mailman/listinfo/talk" target="_blank">http://x-query.com/mailman/listinfo/talk</a><br>
    </font></blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:talk@x-query.com">talk@x-query.com</a>
<a class="moz-txt-link-freetext" href="http://x-query.com/mailman/listinfo/talk">http://x-query.com/mailman/listinfo/talk</a></pre>
</blockquote>
</body>
</html>