Create an empty Database

 

At beginning of the work with the SmallSQL database you have the problem to create the first database. If you want create database there are 3 solutions:
  1. You can convert an existing database. See the Getting Started.
  2. Use the flag JDBC URL create=true. Then the database is creating if not exist. This look like:
    "jdbc:smallsql:NewDatabase?create=true"
  3. Create a connection to no database. Then execute a CREATE DATABASE  command. With the follow JDBC URL you can create a connection to no database:
    "jdbc:smallsql"


100% pure Java DBMS
Mirror Site