user5182503
user5182503

Reputation:

HSQLDB: create schema if not exists -> unexpected token not

I can't find a way to create schema only if it doesn't exist.

I tried:

CREATE SCHEMA IF NOT EXISTS temp

but get unexpected token :NOT error.

However, dropping schema works ok

DROP SCHEMA IF EXISTS temp

Upvotes: 5

Views: 3253

Answers (1)

fredt
fredt

Reputation: 24372

This feature will be supported in the next version, 2.4.0.

Upvotes: 5

Related Questions