1.1.1

Table Of Contents
Syntax
To create a database schema from one or more schema XML les, use the syntax:
sqlf write-schema-to-db -files=<path,path,...>
[-alter-identity-columns]
[-auth-provider=<name>]
[-bind-address=<address>]
[-catalog-pattern=<pattern>]
[-client-bind-address=<address>]
[-client-port=<port>]
[-database-type=<db type>]
[-delimited-identifiers=<true | false>]
[-do-drops]
[-driver-class=<class name>]
[-extra-conn-props=<properties>]
[-help] [-locators=<adresses>]
[-mcast-address=<address>]
[-mcast-port=<port>]
[-password[=<password>]]
[-schema-pattern=<pattern>]
[-url=<url>]
[-user=<username>]
[-verbose=<level>]
This table describes options for the sqlf write-schema-to-db command. Default values are used if you do not
specify an option.
DescriptionOption
The full path to one or more schema XML les to use for creating
the schema. Use a comma-separated list to specify multiple les.
This argument is required.
-les
This option is provided for tables that have GENERATED ALWAYS
identity columns, which prohibit manually inserting identity values
-alter-identity-columns
even during data import. If one or more tables contains existing
GENERATED ALWAYS identity values that you want to preserve,
specify -alter-identity-columns with both the sqlf write-schema-to-db
and sqlf write-data-to-db commands.
When you include this option with sqlf write-schema-to-db, SQLFire
changes an existing GENERATED ALWAYS identity column to a
non-identity column. This enables you to import existing data values
for the column.
When you include this option with sqlf write-data-to-db, SQLFire
alters the column to an identity column (GENERATED ALWAYS
AS IDENTITY) after the nal column value is imported. Identity
values are then automatically generated for new rows, and SQLFire
ensures that all new identity values are greater than the last imported
value.
As an alternative to using these options, SQLFire supports
GENERATED BY DEFAULT identity columns that permit insertion
of the identity value. See Identity ColumnsGENERATED ALWAYS
Identity ColumnsGENERATED BY DEFAULT Identity Columns
in the CREATE TABLE reference page.
421
sqlf Launcher Commands