Groups
Groups
Sign in
Groups
Groups
H2 Database
Conversations
About
Send feedback
Help
ALTER CONSTRAINT UNIQUE
18 views
Skip to first unread message
Pylou Ej
unread,
Jan 19, 2021, 7:17:43 AM
1/19/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
Hello I want to add a constraint on a column but when I send the SQL command the BDD adds _INDEX_3 to the end of the name... How do we stop this?
Query:
ALTER TABLE GS_PAYS ADD CONSTRAINT GS_PAYS_UN1_1 UNIQUE (GS_PAYS_LIB);
Result:
GS_PAYS_UN1_1_INDEX_3
Pylou Ej
unread,
Jan 19, 2021, 8:45:47 AM
1/19/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
Close.
Reply all
Reply to author
Forward
0 new messages