Problem w/Update table alter column unique
Posted by:
ARyKaXaN
Date: August 23, 2004 01:26PM
hi every one.
well i'm newbie, so i have this problem, i want to update a field already containing LIVE data, so the properties from that particular field is text, but i want to add the unique property to that field, I tryed this;
mysql> alter table uno ADD CONSTRAINT UniqueValues UNIQUE(serie);
where uno is da table, and serie is the column i want to modify. i also try this;
mysql> ALTER TABLE uno MODIFY serie text NOT NULL unique(serie);
but neither works, can anyone helpme with this?
thanx
Subject
Written By
Posted
Problem w/Update table alter column unique
August 23, 2004 01:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.