Create Database
- Last Updated: October 28, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Oracle Service Cloud 7.1
- Documentation
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.
Warning: 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)