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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-17 : 09:34:49
|
| steve writes "Does anyone know the correct SQL syntax for changing an existing column to an identity column.ie rather thanCREATE TABLE Yaks ( YakID smallint identity(7,2), YakName char(20) )what would be the "Alter Table myTable Alter Column myColumn" SQL equivalent?I intend to run the SQL against existing tables using VB6 & ADO.Thanks Steve" |
|
|
VyasKN
SQL Server MVP & SQLTeam MVY
313 Posts |
|
|
stever
Starting Member
1 Post |
Posted - 2002-04-17 : 21:37:29
|
| thanks,dropping/adding column worked fine. |
 |
|
|
|
|
|