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

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

With the help of Alter Column,we can change data-type of a column.

Alter Table table_name

Alter Column column_name datatype.

For Example:-
Alter Table employee_master

Alter Column employee_code varchar(30);

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response