I have a desktop program which uses an embedded data base mechanism. For the first time a user will execute a program, it must create a database. So that, next time there is a database and there is no need to create it.
How do I check if there is database and create it if necessary?