Chapter 7:
Alter: Add new column, change a column name, change the datatype of a column and increase the size of any column
Alter: Add new column, change a column name, change the datatype of a column and increase the size of any column
- Add new column
- Drop Column:
- Change the column data type
- Change the column size
- Change column name
select all records from students table:
Drop one column using alter command:
Check whether column is dropped or not?
Add one column using alter command:
Check whether column is added or not?
Change data type using alter command:
Check whether data type is updated or not?