create table foo (id varchar(26) not null, name varchar(50) not null)
Table created.
alter table foo add constraint pk_foo primary key (id)
Table altered.
create unique index un_foo on foo (name)
Index created.
alter table foo add constraint un_foo unique (name)
Table altered.
alter table foo drop constraint un_foo drop index
Table altered.