skip to main content
Connection Option Descriptions : Create Database
  

Try DataDirect Drivers Now

Create Database

Attribute

CreateDB (CDB)

Purpose

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 embedded database specified by Database. If one does not exist, the connection fails.
If set to 1 (ForceNew), the driver deletes the current embedded database 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 embedded database specified by Database. If one does not exist, the driver creates one.

Default

2 (NotExist)

GUI Tab

Advanced tab