0

I created the table with stud_id int, phone_number int, So after that I want to add some settings like zerofill in phone_number. So how can I set this zerofill?

I saw in the internet alter table table_name But there were : 1)change table name, 2) drop table, 3) rename table 4)rename column in table etc. I know that when we are creating the table, we can set all config like : auto_increment, primary key() etc. But I want to set after creating.

create table student(stud_id int, phone_number int);
bekanur98
  • 502
  • 1
  • 7
  • 20

0 Answers0