6
I created a Constraint primary key
in my table as follows:
CONSTRAINT PK_user_type PRIMARY KEY(id)
But now I need to rename it:
CONSTRAINT PK_type PRIMARY KEY(id)
Based on this, I have the following doubts:
1 - How do I rename a constraint
of the kind primary key
?
2 - The process to carry out the renaming of a type Constraint foreign key
would be the same way?
3 - In the title I referred to the bank MySQl
because it is what I am currently using, but the renaming process would be the same for other types of banks? As for example oracle
and Microsoft Sql server
.