H2: how to tell if table exists?

First: check the case in which you type tables’ names. It’s very important. word_types and WORD_TYPES are two different tables.
Second: If you want to check if table exists and if it doesn’t then create one, I recommend you to use the following example:

CREATE TABLE IF NOT EXISTS TEST(ID INT PRIMARY KEY, NAME VARCHAR(255));

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)