nieraczek
23.03.2007, 13:24:09
Jakie jest polecenie usuwające wymaganie unikalności na kolumnę "nazwa" tabeli "rodzaje"
ALTER TABLE table DROP CONSTRAINT constraint { RESTRICT | CASCADE }
Removes a table constraint (such as a check constraint, unique constraint, or foreign key constraint). To remove a unique constraint, drop a unique index, To remove other kinds of constraints you need to recreate and reload the table, using other parameters to the CREATE TABLE command.
Przynajmniej w postgresie...