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)
 can i alter table with add more than 1 column?

Author  Topic 

newdbo
Starting Member

2 Posts

Posted - 2009-10-06 : 21:48:17
Dear SQL team,
can I alter a table to add more than one column? what is the syntax? Thanks in advance..

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-10-06 : 22:59:57
yes you can.


alter table
<table name>
add
<column name> <data type> ,
<column name> <data type>

[/code]


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -