-
Hey! I'm trying to drop a table, but its primary is a foreign key in another table. So I have to drop the foreign in another table first...but I got error of syntax :/ My life plot in image: Sorry about the image, but I think is more easily to understand the problem |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
As I see, the command: The problem is with the "as '0'", it does not work...How could I take this out? |
Beta Was this translation helpful? Give feedback.
As I see, the command:
alter table 'request_appointments' drop foreign key 'request_appointments_requested_appointment_status_id_foreign' as '0'
The problem is with the "as '0'", it does not work...How could I take this out?