skip to main content
Reference : Connection Property Descriptions : CreateDB
  

Try DataDirect Drivers Now

CreateDB

Purpose

Determines whether the driver creates a new embedded database when establishing the connection.

Valid Values

forceNew | notExist | no

Behavior

If set to forceNew, the driver deletes the current embedded database specified by DatabaseName and creates a new one at the same location.
Warning: This causes all views, data caches, and map customizations defined in the current database to be lost.
If set to notExist, the driver uses the current embedded database specified by DatabaseName. If one does not exist, the driver creates one.
If set to no, the driver uses the current embedded database specified by DatabaseName. If one does not exist, the connection fails.

Default

notExist

Data Type

String