Changes

Jump to navigation Jump to search
283 bytes added ,  02:06, 6 May 2011
no edit summary
|Adds the files, directory or XML string specified by <code>[input]</code> to the currently opened database, using an optional <code>[target]</code> path and an optional file <code>[name]</code>.<br/>The input may either be a single XML document, a directory, a remote URL or a plain XML string. The optional name is ignored if the input is a directory.
|-
| valign='top' | '''SummaryExamples'''
|
* <code>ADD input.xml</code><br/>adds the file <code>input.xml</code> to the database.
| valign='top' | '''Summary'''
|Alters the <code>[name]</code> of a database to <code>[newname]</code>.
|-
| valign='top' | '''Examples'''
|
* <code>ALTER DATABASE db tempdb</code><br/>renames the database <code>db</code> into <code>tempdb</code>.
|}
==ALTER USER==
| valign='top' | '''Summary'''
|Runs the specified <code>[query]</code> and prints the result.
|-
| valign='top' | '''Examples'''
|
* <code>XQUERY 1 to 10</code><br/>returns the sequence <code>(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)</code>.
|}
[[Category:Beginner]]
[[Category:Server]]
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu