arrow_back Back to Notebook
sql
sql
January 10, 2019

Alter a table droping a columns default value

To drop a default value from a column you need to alter the column and DROP DEFAULT

Drop default value example

ALTER TABLE table_name
    ALTER COLUMN column_name DROP DEFAULT;

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch