Just to be clear, I don't want to drop the table.
I just want to change the primary key.

Therefore, I need a pair of statements along the lines of:
ALTER TABLE user_roles DROP PRIMARY KEY;
CREATE PRIMARY KEY ON user_roles  (user_id, group_id);

The problem is that if there are other constraints the drop statement
fails.
-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.


Reply via email to