Skip to contents

Removes a column in place with ALTER TABLE ... DROP COLUMN. This is a metadata-only change: the column disappears from the current schema, but earlier snapshots still contain it and remain queryable through time travel.

Usage

drop_table_column(table_name, column_name)

Arguments

table_name

The table to change.

column_name

Name of the column to drop.

Value

Invisibly returns NULL.

Examples

if (FALSE) { # \dontrun{
drop_table_column("adsl", "SCRATCH_FLAG")
} # }