Hello,

In a Spring Boot project, I have defined an H2 Scope.

My schema-h2.sql script contains the following code:

CREATE SCHEMA IF NOT EXISTS ABC_SCHEMA AUTHORIZATION xyz;


SET SCHEMA = ABC_SCHEMA;



Unfortunately, when I "install" my Java project, I get the following error 
message:

Admin rights are required for this operation; SQL statement:
CREATE SCHEMA IF NOT EXISTS ABC_SCHEMA AUTHORIZATION xyz [90040-199]


Does anyone know how make the schema-h2.sql script run in admin mode?

Many thanks.

Best regards,

pr1





-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/ad5daa09-ea49-49a9-96f1-228ae8ffd520%40googlegroups.com.

Reply via email to