User Guide : A. Command Reference : createdb Command--Create a Database : createdb Examples
 
Share this page                  
createdb Examples
1. Create a Unicode-enabled database with Normalization Form D:
createdb -n unidb
2. Create a Unicode-enabled private database on the default devices:
createdb -p mydb
3. Create the Unicode-enabled public database ericsdb using a different user name:
createdb ericsdb -ueric
4. Create a Unicode-enabled database with its database, checkpoint, and journal files on different devices:
createdb bigdb -ddb_vw -cnewdev_vw -jotherdev_vw