I have run the following query to add unique constraint on column "name".
alter table mytable
add unique (name)
Now I am trying to remove this constraint, I am getting errors.
Kindly give me a solution.
Thanks
ps. I am using SQL Server
I have run the following query to add unique constraint on column "name".
alter table mytable
add unique (name)
Now I am trying to remove this constraint, I am getting errors.
Kindly give me a solution.
Thanks
ps. I am using SQL Server
You can use
ALTER TABLE dbo.mytable DROP CONSTRAINT constraintname;