top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to change multiple column datatype in SQL Server single query.

+6 votes
680 views
How to change multiple column datatype in SQL Server single query.
posted Apr 1, 2015 by Khusboo

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Try something like

ALTER TABLE table_name
  MODIFY (column_1 column_type,
      column_2 column_type,
      ...
      column_n column_type);
answer Apr 1, 2015 by Salil Agrawal
...