1.1

Table Of Contents
Examples
This command connects to a SQLFire network server running on localhost:1527, and creates a database schema
using a schema XML le named db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml
This command connects to a SQLFire network server running on myserver:1234, and creates a database schema
using two schema XML les named db-schema1.xml and db-schema2.xml:
sqlf write-schema-to-db -files=db-schema1.xml,db-schema2.xml
-client-bind-address=myserver -client-port=1234
This command connects as a peer client to a SQLFire system running on multicast port 1234, and creates a
database schema using a schema XML le named db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml -mcast-port=1234
-extra-conn-props=host-data=false
This command uses MySQL Connector/J to connect to a MySQL server running on the "myserver" host, and
creates a database schema in the test database using a schema XML le name db-schema.xml:
sqlf write-schema-to-db -files=db-schema.xml
-url=jdbc:mysql://myserver/test -driver-class=com.mysql.jdbc.Driver
sqlf write-schema-to-sql
Writes the schema of a database to a le as SQL commands. You can use the resulting le to recreate the schema
in SQLFire, or in another database management system. This command is generally used with a SQLFire cluster
to export the schema, but it can also be used with other JDBC datasources.
Syntax
To write a database schema as SQL commands to a le, use the syntax:
sqlf write-schema-to-sql -file=<path>
[-bind-address=<address>]
[-catalog-pattern=<pattern>]
[-client-bind-address=<address>]
[-client-port=<port>]
[-database-type=<db type>]
[-delimited-identifiers=<true | false>]
[-driver-class=<class name>]
[-dump-from-db]
[-exclude-table-filter=<filter>]
[-exclude-tables=<name,name,...>]
[-extra-conn-props=<properties>]
[-help]
[-include-table-filter=<filter>]
[-include-tables=<name,name,...>]
[-isolation-level=<level>]
[-locators=<adresses>]
[-mcast-address=<address>]
[-mcast-port=<port>]
[-password[=<password>]]
[-schema-pattern=<pattern>]
[-to-database-type=<type>]
[-url=<url>]
[-user=<username>]
413
sqlf Launcher Commands