diff --git a/docs/sql.html b/docs/sql.html index 34fefc376..9f150c0ee 100644 --- a/docs/sql.html +++ b/docs/sql.html @@ -47,6 +47,26 @@
Note that you may want to enclose your statements in
<![CDATA[
... ]]>
sections so you don't
need to escape <
, >
&
-or other special characters. For exampe:
+<sql driver="org.database.jdbcDriver" @@ -94,6 +114,24 @@ update some_table set column1 = column1 + 1 where column2 < 42; ]]></sql>
The following connects to the database given in url as the sa user using the org.database.jdbcDriver and executes the sql statements contained within the file data.sql, with output piped to outputfile.txt, searching /some/jdbc.jar as well as the system classpath for the driver class.
+ ++ +<sql + driver="org.database.jdbcDriver" + url="jdbc:database-url" + userid="sa" + password="pass" + src="data.sql" + print="yes" + output="outputfile.txt" + > +<classpath> + <pathelement location="/some/jdbc.jar"> +</classpath> +</sql> +