InterviewSolution
| 1. |
How To Create A New Database? |
|
Answer» A new database is created automatically if it does not yet exist. Just connect to the not-yet-existing database using the jdbc: hsqldb: file:«database-path» URL (should REPLACE the last part with the path you WANT) with the user ‘SA’ (or any other name) and a password (can be an empty string). You will USE this name and password to connect again. A new database is created automatically if it does not yet exist. Just connect to the not-yet-existing database using the jdbc: hsqldb: file:«database-path» URL (should replace the last part with the path you want) with the user ‘sa’ (or any other name) and a password (can be an empty string). You will use this name and password to connect again. |
|