Postgres SQL: Problem z usunięciem świeżo dodanej kolumny
Jeśli jest problem z usunięciem kolumny, którą przed chwilą dodaliśmy, bo pokazuje, że jakiś objekt
DF__TableName__ColumnName__6BAEFA67
zależy od tej kolumny, to trzeba ten objekt wcześniej usunąć, coś w tym stylu:
If your constraint is on a user type, then don't forget to see if there is a
Default Constraint
, usually something like DF__TableName__ColumnName__6BAEFA67
, if so then you will need to drop the Default Constraint
, like this:ALTER TABLE TableName DROP CONSTRAINT [DF__TableName__ColumnName__6BAEFA67 ]
Bardzo mnie interesuje co o tym sądzisz, dlatego byłoby mi miło, jeśli byś napisał w komentarzu coś o tym, może być cokolwiek :)
Komentarze
Prześlij komentarz