Changes

Jump to navigation Jump to search
914 bytes added ,  02:08, 26 May 2012
no edit summary
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0007BXSQ0007]]</b> is raised if the specified driver class is not found.
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs, e.g. missing JDBC driver or not existing relation.
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs, e.g. not existing relation is retrieved.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0002BXSQ0002]]</b> is raised if a wrong connection handle or prepared statement handle is passed.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0003BXSQ0003]]</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|FOSQ0004BXSQ0004]]</b> is raised if the type of a parameter for a prepared statement is not specified.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0005BXSQ0005]]</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|FOSQ0006BXSQ0006]]</b> is raised if a parameter is from type date, time or timestamp and its value is in an invalid format.<br/ >
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0002BXSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0002BXSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0002BXSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
|-
| '''Errors'''
|<b>[[XQuery Errors#SQL Functions Errors|FOSQ0001BXSQ0001]]</b> is raised if an SQL exception occurs.<br/ ><b>[[XQuery Errors#SQL Functions Errors|FOSQ0002BXSQ0002]]</b> is raised if a wrong connection handle is passed.<br/ >
|}
return sql:execute($prep, $params)
</pre>
 
=Errors=
 
{| class="wikitable" width="100%"
! width="5%"|Code
! width="95%"|Description
|-
|<code>BXSQ0001</code>
|An SQL exception occurred (e.g.: a non-existing relation is retrieved).
|-
|<code>BXSQ0002</code>
|A wrong connection handle or prepared statement handle is passed.
|-
|<code>BXSQ0003</code>
|The number of <code>&lt;sql:parameter/&gt;</code> elements in <code>&lt;sql:parameters/&gt;</code> differs from the number of placeholders in the prepared statement.
|-
|<code>BXSQ0004</code>
|The type of a parameter for a prepared statement is not specified.
|-
|<code>BXSQ0005</code>
|An attribute different from <code>type</code> and <code>null</code> is set for a <code>&lt;sql:parameter/&gt;</code> element.
|-
|<code>BXSQ0006</code>
|A parameter is from type date, time or timestamp and its value is in an invalid format.
|-
|<code>BXSQ0007</code>
|A specified database driver class is not found.
|}
=Changelog=
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu