alter table drop foreign key

    0

    1

    lucycodes42

    SQL public snippets

    The preceding code will drop the foreign key &[USER_INPUT:2:fk_${3:the_table]_&[USER_INPUT:4:far_table]} from the table $&[USER_INPUT:1].

    Shortcut: s_alter_fk_drop

    ALTER TABLE `` DROP FOREIGN KEY `foreign_key`;
    
    
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.