Advantage SQL Engine
Creates a new Advantage Data Dictionary
Syntax
CREATE DATABASE <database name> [ PASSWORD <adssys password> ] [ DESCRIPTION <database description> ] [ ENCRYPT <TRUE | FALSE> ]
database name ::= The path of the new data dictionary
adssys password ::= A password for the adssys administrator user
database description ::= A description of the data dictionary
Remarks
CREATE DATABASE creates a new Advantage Data Dictionary and sets its description and password. By including the ENCRYPT keyword, the data dictionary (the .ADD file) will be encrypted if TRUE is specified. If FALSE is specified, it will not be encrypted (the default is FALSE). The option to encrypt the data dictionary file is only available at creation time.
When called on a dictionary connection, CREATE DATABASE can only be executed by the ADSSYS user or a member of the DB:admin group.
Example(s)
CREATE DATABASE "n:\MyData\myData.ADD" PASSWORD 'admin' DESCRIPTION 'MyData Data Dictionary' ENCRYPT TRUE
CREATE DATABASE "c:\program files\my data\new.add"
CREATE DATABASE newDB