Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: sql problem z usunięciem ograniczeń
Forum PHP.pl > Forum > Bazy danych > MySQL
szypi1989
Witam otóż wprowadziłem ograniczenie na tabelę:
ALTER TABLE `user` ADD CONSTRAINT `user_system_id_fk` FOREIGN KEY (`system_id`)
REFERENCES `system` (`id`) ON DELETE RESTRICT;
i próbuję usunąć te ograniczenie:
ALTER TABLE user DROP CONSTRAINT user_system_id_fk
i pojawia mi się błąd:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONSTRAINT user_system_id_fk' at line 1
o co tutaj chodzi??
proszę o pomoc
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.