17.4. Deleting a Column #

Execute the following query:

  SELECT metastore.delete_column('schema_name.table_name' or 'table_name', 'column_name');

Where:

Example 17.4. 

  SELECT metastore.delete_column('my_schema.testtable', 'second_col');

Once the query is executed, pgpro_metastore performs the following actions: