Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: usuniecie unikalności
Forum PHP.pl > Forum > Bazy danych
nieraczek
Jakie jest polecenie usuwające wymaganie unikalności na kolumnę "nazwa" tabeli "rodzaje" questionmark.gif
sf
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...
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.