How to change Data-Type of a column in My-Sql Database?

 Posted by vishalneeraj-24503 on 1/13/2014 | Category: Sql Server Interview questions | Views: 719 | Points: 40
Answer:

With the help of Modify Column,we can change data-type of a column in MySql database?

Syntax:-
Alter Table table_name

Modify Column column_name datatype.


For Example:-
Alter Table employee_master

Modify Column employee_code varchar(30);


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response