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.
InnoDBでリレーションを定義するときに、CASCADEを表すものは何でしょうか。
アクションに関連するものだと思います:ON DELETE&ONUPDATE。
テーブル内のすべてのリレーションでCASCADEに設定する必要がありますか?
行が削除され、そのメンバーの 1 つが外部キーである場合、それを外部キーとして参照するすべてのテーブル内のすべての行も削除されます。
読む: http://en.wikipedia.org/wiki/Foreign_key