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
(私はASAではなくASEに精通しています)
試すのは簡単です:
テーブル tf を作成します (id int , col2 varchar(32), 制約 pk_on_id 主キー (id)); テーブル tf ドロップ制約 pk_on_id を変更します。