Database + java [closed]

1

How do I check if a database exists in java?

Example:

If you have one, create a new one.

    
asked by anonymous 05.01.2017 / 21:41

1 answer

3

Use this code below:

CREATE DATABASE IF NOT EXISTS nomedobanco;
    
05.01.2017 / 21:45