{"tool":"alter","tool_display":"Alter","intent":"delete-partition-from-table","intent_display":"delete partition from table","title":"Alter Command: delete partition from table","command_string":"alter table <table_name> drop partition (<partition_spec>);","raw_command_string":"alter table {{table_name}} drop partition ({{partition_spec}});","description":"Exact CLI syntax to delete partition from table using Alter.","usage_scenario":"Manage storage effectively by deleting unnecessary table partitions.","scenario_context":"Manage storage effectively by deleting unnecessary table partitions.","simulated_output":"Query OK, 0 rows affected\n\nTime: 0.002s","how_to_steps":["Identify the table and partition to delete.","Run the command: alter table {{table_name}} drop partition ({{partition_spec}});","Verify the partition has been removed."],"canonical_url":"https://www.syntaxstandard.com/alter/delete-partition-from-table"}