Database + java

Asked

Viewed 59 times

1

How do I check for a database in java ?

Example:

If you do, create a new.

1 answer

3

Use this code below:

CREATE DATABASE IF NOT EXISTS nomedobanco;
  • 1

    Thanks, I hadn’t even thought about it, that’s what gives programming stressed.

  • has happened to me a lot. I usually use the expression: "I myself have controlled" srs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.