|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0007FOSQ0007]]</b> is raised if the specified driver class is not found.
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs, e.g. missing JDBC driver or not existing relation.
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs, e.g. not existing relation is retrieved.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0002FOSQ0002]]</b> is raised if a wrong connection handle or prepared statement handle is passed.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0003FOSQ0003]]</b> is raised if the number of <code><sql:parameter/></code> elements in <code><sql:parameters/></code> differs from the number of placeholders in the prepared statement.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0004FOSQ0004]]</b> is raised if the type of a parameter for a prepared statement is not specified.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0005FOSQ0005]]</b> is raised if an attribute different from <code>type</code> and <code>null</code> is set for a <code><sql:parameter/></code> element.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0006FOSQ0006]]</b> is raised if a parameter is from type date, time or timestamp and its value is in an invalid format.<br/ >
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0002FOSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0002FOSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0002FOSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0001FOSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors (XSQL)|XSQL0002FOSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}