Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Alter statement to change column datatype

Author  Topic 

jpham
Starting Member

19 Posts

Posted - 2007-02-16 : 19:13:18
Hi All,
Is there any MSSQL command that we can change the columns' datatype
of the existing table. For example
tablea has ca1 as smallint not null and
ca2 as smallint not null
and I want to change both columns to int not null.
We couldn't use the alter command to alter 2 columns
at the same time. So I was wondering if there is
any sql command that I can use to change 2 columns' datatype
at the same time without using two alter statements.
Thanks
JP

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-02-16 : 19:36:16
No


KH

Go to Top of Page
   

- Advertisement -