Posts by Luan Souza Montanari • 13 points
2 posts
-
0
votes2
answers2140
viewsA: How to add a "Constraint Unique" to a column without deleting the table or column
the codes alter table usuario add constraint unique_login unique(login) and alter table usuario add unique(login) are correct. I tested them both and they both worked…
-
1
votes2
answers2140
viewsQ: How to add a "Constraint Unique" to a column without deleting the table or column
This is the example table create table usuario( id serial primary key not null, nome varchar(100), email varchar(100), login varchar(100), senha varchar(100), tipo varchar(50), status varchar(30) )…