Creating and Updating Databases
The SDB Creator tool operates in SQLite, DBMS and CED modes to create or
update database files. The following is the command to create or update a
database using the SDB Creator tool:
> sdb -m <mode-value> -i <input-database-filename> -c
<configuration-file> [input file] -o
<output-database-filename>
For information about the various options in the preceding command, see
SDB Creator Tool Syntax
.
For SQLite and DBMS databases, the SDB tool creates a database file with
the default name
sdb.db at the default location. You can modify the default
values in the
sdb.properties file. For more information, see
Configuring the SDB Creator Tool
.
If the database with the same name already exists at that location, a
number is appended to the default filename to ensure uniqueness.
The default database name for Comms database is
cccccc00.cre. If an error occurs and the SDB tool still
creates the database, it names the database as
cccccc00-err.cre.
If the
.cre database with the same name already exists at that
location, the SDB tool overwrites the existing database.
The following topics outline how to create or update specific databases: