SQL ALTER Table Example

1 min read
Date: 2019-09-18
This tutorial demonstrates how to use SQL's ALTER TABLE
command to modify existing database tables. It covers adding and dropping columns, changing data types, and adding or removing constraints (like NOT NULL
). The examples use MySQL, showing how to add a new column, remove a column, change a column's data type, and modify NOT NULL
constraints. The tutorial assumes a pre-existing database and table.
Read more: https://examples.javacodegeeks.com/sql-alter-table-example/
0
Subscribe to my newsletter
Read articles from Yatin batra directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
