Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
alter table Orders drop foreign key FK_foreign;
错误:-131 语法
有什么问题?
尝试使用
alter table ORDERS drop constraint constraint_name
(我更熟悉 ASE ,而不是 ASA)
很容易尝试:
创建表 tf (id int , col2 varchar(32), 约束 pk_on_id 主键(id)); 更改表 tf 删除约束 pk_on_id;