MSSQL help needed.... just 1 simple question.

timot

Member
Feb 26, 2008
152
0
0
Hey guys, tried googling but couldnt find any.

I want to alter 2 columns in a table, how do i do that?

ALTER table_name ALTER COLUMN column_1 VARCHAR(##)

the code above only alters 1 column of the table right? how do i alter 2 columns of the same table?
 

JACKDRUID

Senior member
Nov 28, 2007
729
0
0
2 statements..

alter table x alter column x1 int
go
alter table y alter column y1 int
go