Delete table by ALTER TABLE



    Jamie Dormaar

    This code tells the database to drop the column called search_keyword from the all_sessions table.

    Library: PostgreSQL

    ALTER TABLE all_sessions
      DROP COLUMN search_keyword;
    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.