skip to main content
Connection Option Descriptions : Create Database
  

Try DataDirect Drivers Now

Create Database

Attribute

CreateDB (CDB)

Purpose

Note: The Create Database option has been replaced by Create Map. The CreateDB attribute will continue to be supported for this release, but will be deprecated in subsequent versions of the product.
Determines whether the driver creates a new embedded database when establishing the connection.

Valid Values

0 | 1 | 2

Behavior

If set to 0 (No), the driver uses the current schema map specified by Database. If one does not exist, the connection fails.
If set to 1 (ForceNew), the driver deletes the current schema map specified by Database and creates a new one at the same location.
This causes all views, data caches, and map customizations defined in the current database to be lost.
If set to 2 (NotExist), the driver uses the current schema map specified by Database. If one does not exist, the driver creates one.

Default

None

GUI Tab

None