Changes

Jump to navigation Jump to search
116 bytes added ,  09:20, 6 May 2011
no edit summary
* <code>CREATE DATABASE input input.xml</code><br/>creates the database <code>input</code> with input.xml as content.
* <code>CREATE DATABASE coll folder</code><br/>creates the database <code>coll</code> with all documents from the directory <code>folder</code> as content.
* <code>SET INTPARSE ON;</code><code>CREATE DB input input.xml</code><br/>creates a database <code>input</code>, using the [[Options#Database options|internal XML parser]].
|}
|
* <code>XQUERY 1 to 10</code><br/>returns the sequence <code>(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)</code>.
* <code>SET RUNS 10;XQUERY 1 to 10</code><br/>runs the query 10 times, returns the result and prints the average execution time.
|}
[[Category:Beginner]]
[[Category:Server]]
bueraucrat, Bureaucrats, editor, reviewer, Administrators
907

edits

Navigation menu