Skip to content
Advertisement

Tag: h2db

INSERT INTO table SELECT not working with constant values in H2 DB

Following is the H2DB query What I am trying to achieve is to insert a record into userpermission for user with given email address in user table, for each permission in permission table. Following is the error The same query is working in MySQL. Answer As mentioned in the comments, Use single quotes for sting constants. Do not use braces

Advertisement